From: Anthony Minessale Date: Wed, 28 Mar 2012 18:52:43 +0000 (-0500) Subject: FS-4050 --resolve X-Git-Tag: v1.2-rc1~19^2^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09bb0bab6a661ce29a6428ded76906301c76b4c2;p=thirdparty%2Ffreeswitch.git FS-4050 --resolve --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 702dbbeaae..7ebb03851e 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -4046,7 +4046,6 @@ int sofia_glue_toggle_hold(private_object_t *tech_pvt, int sendonly) } sofia_set_flag_locked(tech_pvt, TFLAG_SIP_HOLD); - switch_channel_set_flag(tech_pvt->channel, CF_LEG_HOLDING); switch_channel_mark_hold(tech_pvt->channel, SWITCH_TRUE); switch_channel_presence(tech_pvt->channel, "unknown", msg, NULL); changed = 1; @@ -4074,7 +4073,6 @@ int sofia_glue_toggle_hold(private_object_t *tech_pvt, int sendonly) } else { if (sofia_test_flag(tech_pvt, TFLAG_HOLD_LOCK)) { sofia_set_flag(tech_pvt, TFLAG_SIP_HOLD); - switch_channel_set_flag(tech_pvt->channel, CF_LEG_HOLDING); switch_channel_mark_hold(tech_pvt->channel, SWITCH_TRUE); changed = 1; } @@ -4107,7 +4105,6 @@ int sofia_glue_toggle_hold(private_object_t *tech_pvt, int sendonly) } sofia_clear_flag_locked(tech_pvt, TFLAG_SIP_HOLD); - switch_channel_clear_flag(tech_pvt->channel, CF_LEG_HOLDING); switch_channel_mark_hold(tech_pvt->channel, SWITCH_FALSE); switch_channel_presence(tech_pvt->channel, "unknown", "unhold", NULL); changed = 1;