From: Anthony Minessale Date: Fri, 12 Sep 2008 16:43:29 +0000 (+0000) Subject: add option for bridge to generate comfort noise to the A leg when there is no audio... X-Git-Tag: v1.0.2~1220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ee46554aad1036b7070593cdf7012622d4ee8e9;p=thirdparty%2Ffreeswitch.git add option for bridge to generate comfort noise to the A leg when there is no audio on the B leg git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9544 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_bridge.c b/src/switch_ivr_bridge.c index ee72b096b1..96a03bb194 100644 --- a/src/switch_ivr_bridge.c +++ b/src/switch_ivr_bridge.c @@ -170,7 +170,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj) silence_val = 0; } else { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Setup generated silence at %d\n", silence_val); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Setup generated silence from %s to %s at %d\n", switch_channel_get_name(chan_a), switch_channel_get_name(chan_b), silence_val); silence_frame.codec = &silence_codec; silence_frame.data = silence_data; silence_frame.buflen = sizeof(silence_data);