Revision
15111
Author
anthm
Date
2009-10-07 17:38:11 -0500 (Wed, 07 Oct 2009)

Log Message

auto update displays in more places

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (15110 => 15111)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	2009-10-07 22:35:21 UTC (rev 15110)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	2009-10-07 22:38:11 UTC (rev 15111)
@@ -4253,6 +4253,11 @@
 								if ((tmp = switch_channel_get_variable(a_channel, SWITCH_HOLD_MUSIC_VARIABLE))) {
 									moh = tmp;
 								}
+
+								if (!strcasecmp(moh, "silence")) {
+									moh = NULL;
+								}
+
 								//switch_channel_set_variable(a_channel, SWITCH_PARK_AFTER_BRIDGE_VARIABLE, "true");
 								if (moh) {
 									switch_channel_set_variable_printf(a_channel, SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE,