提交 2546187c authored 作者: Anthony Minessale's avatar Anthony Minessale

update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1343 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 e61acfba
...@@ -243,8 +243,8 @@ SWITCH_DECLARE(switch_status_t) switch_channel_queue_dtmf(switch_channel_t *chan ...@@ -243,8 +243,8 @@ SWITCH_DECLARE(switch_status_t) switch_channel_queue_dtmf(switch_channel_t *chan
} else { } else {
break; break;
} }
p++;
} }
status = switch_buffer_write(channel->dtmf_buffer, dtmf, wr) ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_MEMERR; status = switch_buffer_write(channel->dtmf_buffer, dtmf, wr) ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_MEMERR;
switch_mutex_unlock(channel->dtmf_mutex); switch_mutex_unlock(channel->dtmf_mutex);
......
...@@ -768,6 +768,8 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj) ...@@ -768,6 +768,8 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
ans_a++; ans_a++;
} }
/* if 1 channel has DTMF pass it to the other */ /* if 1 channel has DTMF pass it to the other */
if (switch_channel_has_dtmf(chan_a)) { if (switch_channel_has_dtmf(chan_a)) {
char dtmf[128]; char dtmf[128];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论