From 7f294ebd4fa7fe4b92078facaec6c25d70007760 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 7 Oct 2009 22:38:11 +0000 Subject: [PATCH] auto update displays in more places git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15111 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 5 +++++ 1 file changed, 5 insertions(+) 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,