From: Anthony Minessale Date: Thu, 7 Mar 2013 14:44:32 +0000 (-0600) Subject: FS-3576 --resolve X-Git-Tag: v1.2.7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fc4beeaa5b52add11b3d7518b2ef9f28a3614f6;p=thirdparty%2Ffreeswitch.git FS-3576 --resolve --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 241cf88c2d..099c04295b 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -722,6 +722,9 @@ static switch_status_t sofia_answer_channel(switch_core_session_t *session) TAG_IF(sofia_test_pflag(tech_pvt->profile, PFLAG_DISABLE_100REL), NUTAG_INCLUDE_EXTRA_SDP(1)), TAG_END()); sofia_clear_flag(tech_pvt, TFLAG_3PCC_INVITE); // all done + sofia_set_flag_locked(tech_pvt, TFLAG_ANS); + sofia_set_flag_locked(tech_pvt, TFLAG_SDP); + switch_channel_mark_answered(channel); // ... and remember to actually answer the call! return SWITCH_STATUS_SUCCESS; }