]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4050 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 28 Mar 2012 18:52:43 +0000 (13:52 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 28 Mar 2012 18:52:43 +0000 (13:52 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 702dbbeaaeeccd7ba0ff3e5e9f928a8a93dffe45..7ebb03851e3e55e998cc27c5c3507a379b05ecb4 100644 (file)
@@ -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;