mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-15 15:54:13 +00:00
mod_sofia: send bye instead of cancel after invalid 200 OK (MODENDP-270)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15808 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
abebcb13f9
commit
bcbc54f997
2 files changed
+3
-2
No files matched your search
@@ -4264,8 +4264,9 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
|
||||
}
|
||||
}
|
||||
|
||||
sofia_set_flag_locked(tech_pvt, TFLAG_ANS);
|
||||
|
||||
if (match) {
|
||||
sofia_set_flag_locked(tech_pvt, TFLAG_ANS);
|
||||
if (sofia_glue_tech_choose_port(tech_pvt, 0) == SWITCH_STATUS_SUCCESS) {
|
||||
if (sofia_glue_activate_rtp(tech_pvt, 0) == SWITCH_STATUS_SUCCESS) {
|
||||
switch_channel_mark_answered(channel);
|
||||
|
||||
Reference in new issue
Block a user