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,