From: Anthony Minessale Date: Wed, 7 Oct 2009 22:38:11 +0000 (+0000) Subject: auto update displays in more places X-Git-Tag: v1.0.6~1708 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f294ebd4fa7fe4b92078facaec6c25d70007760;p=thirdparty%2Ffreeswitch.git auto update displays in more places git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15111 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 38c6c0365f..58cff55069 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -4253,6 +4253,11 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t 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,