[Freeswitch-svn] [commit] r10691 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Tue Dec 9 16:06:25 PST 2008
Author: anthm
Date: Tue Dec 9 19:06:25 2008
New Revision: 10691
Log:
suppress frame timestamp when raw write mode is set (missed a spot)
Modified:
freeswitch/trunk/src/switch_ivr_originate.c
Modified: freeswitch/trunk/src/switch_ivr_originate.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_originate.c (original)
+++ freeswitch/trunk/src/switch_ivr_originate.c Tue Dec 9 19:06:25 2008
@@ -351,7 +351,7 @@
if (switch_channel_test_flag(caller_channel, CF_PROXY_MODE) || switch_channel_test_flag(caller_channel, CF_PROXY_MEDIA)) {
ringback_data = NULL;
- } else {
+ } else if (switch_strlen_zero(ringback_data)) {
if ((var = switch_channel_get_variable(caller_channel, SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE))) {
int sval = atoi(var);
@@ -793,7 +793,7 @@
if (switch_channel_test_flag(caller_channel, CF_PROXY_MODE) || switch_channel_test_flag(caller_channel, CF_PROXY_MEDIA)) {
ringback_data = NULL;
- } else {
+ } else if (switch_strlen_zero(ringback_data)) {
const char *vvar;
if ((vvar = switch_channel_get_variable(caller_channel, SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE))) {
More information about the Freeswitch-svn
mailing list