diff options
Diffstat (limited to 'channels/chan_unistim.c')
-rw-r--r-- | channels/chan_unistim.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c index c3baa8acb..b82b140a9 100644 --- a/channels/chan_unistim.c +++ b/channels/chan_unistim.c @@ -4485,7 +4485,7 @@ static void process_request(int size, unsigned char *buf, struct unistimsession } if (!memcmp(buf + SIZE_HEADER, packet_recv_expansion_pressed_key, sizeof(packet_recv_expansion_pressed_key))) { char keycode = buf[13]; - + if (unistimdebug) { ast_verb(0, "Expansion key pressed: keycode = 0x%02hhx - current state: %s\n", (unsigned char)keycode, ptestate_tostr(pte->state)); @@ -4965,7 +4965,7 @@ static int unistim_hangup(struct ast_channel *ast) continue; } if (d->ssub[i] != sub) { - if (d->ssub[i] != NULL) { /* Found other subchannel active other then hangup'ed one */ + if (d->ssub[i] != NULL) { /* Found other subchannel active other than hangup'ed one */ end_call = 0; } continue; @@ -6437,7 +6437,7 @@ static struct unistim_device *build_device(const char *cat, const struct ast_var } ast_mutex_init(&d->lock); ast_copy_string(d->name, cat, sizeof(d->name)); - + ast_copy_string(d->context, DEFAULTCONTEXT, sizeof(d->context)); d->contrast = -1; d->output = OUTPUT_HANDSET; @@ -7025,7 +7025,7 @@ static int unistim_set_rtp_peer(struct ast_channel *chan, struct ast_rtp_instanc if (!rtp) { return 0; } - + sub = (struct unistim_subchannel *) ast_channel_tech_pvt(chan); if (!sub) { ast_log(LOG_ERROR, "No Private Structure, this is bad\n"); @@ -7038,9 +7038,9 @@ static int unistim_set_rtp_peer(struct ast_channel *chan, struct ast_rtp_instanc ast_rtp_instance_get_local_address(rtp, &tmp); ast_sockaddr_to_sin(&tmp, &us); } - + /* TODO: Set rtp on phone in case of direct rtp (not implemented) */ - + return 0; } |