mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
[mod_sofia] Destroy session after relaying notify result on proxy refer.
This commit is contained in:
1 parent
cd9a44799b
commit
3447daea46
1 file changed
+1
@@ -1429,6 +1429,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
|||||||
SIPTAG_PAYLOAD_STR(msg->string_arg),
|
SIPTAG_PAYLOAD_STR(msg->string_arg),
|
||||||
TAG_IF(!zstr(session_id_header), SIPTAG_HEADER_STR(session_id_header)),
|
TAG_IF(!zstr(session_id_header), SIPTAG_HEADER_STR(session_id_header)),
|
||||||
SIPTAG_EVENT_STR("refer"), TAG_END());
|
SIPTAG_EVENT_STR("refer"), TAG_END());
|
||||||
|
switch_channel_hangup(tech_pvt->channel, SWITCH_CAUSE_BLIND_TRANSFER);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user