From 27f79d06e94f5a7338c13571d64e091333f97f29 Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 11 Mar 2008 19:45:32 +0000 Subject: [PATCH] silence as a hold class means NO MUSIC git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7863 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 1db2fa9f66..1049e57bc2 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -1829,7 +1829,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t * stream = tech_pvt->profile->hold_music; } - if (stream) { + if (stream && strcasecmp(stream, "silence")) { switch_ivr_broadcast(switch_channel_get_variable(tech_pvt->channel, SWITCH_SIGNAL_BOND_VARIABLE), stream, SMF_ECHO_ALEG | SMF_LOOP); } }