From: Anthony Minessale Date: Sat, 1 May 2010 00:14:39 +0000 (-0500) Subject: add disable_hold var or disable-hold profile param X-Git-Tag: git2svn-syncpoint-master~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbf0e64830e6d29d74688885b3babbdc934064a9;p=thirdparty%2Ffreeswitch.git add disable_hold var or disable-hold profile param --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 7777ca0cb8..a692ec275c 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -3392,7 +3392,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t * } } - if (sofia_test_pflag(tech_pvt->profile, PFLAG_DISABLE_HOLD) || + if (sofia_test_flag(tech_pvt->profile, PFLAG_DISABLE_HOLD) || ((val = switch_channel_get_variable(tech_pvt->channel, "sip_disable_hold")) && switch_true(val))) { sendonly = 0; }