1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-18 17:41:53 +00:00

Merge pull request in FS/freeswitch from ~LAZEDO/freeswitch:bug/FS-11026 to master

* commit '185ddcb860f4c5561a9285dcbb33bc758d36c4de':
  FS-11026 [mod_sofia] set proxy on bye if available
This commit is contained in:
Mike Jerris 2019-01-15 21:05:25 +00:00
commit c9b73d5312

@ -502,6 +502,7 @@ switch_status_t sofia_on_hangup(switch_core_session_t *session)
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Sending BYE to %s\n", switch_channel_get_name(channel));
if (!sofia_test_flag(tech_pvt, TFLAG_BYE)) {
nua_bye(tech_pvt->nh,
TAG_IF(tech_pvt->record_route, NUTAG_PROXY(tech_pvt->record_route)),
SIPTAG_CONTACT(SIP_NONE),
TAG_IF(!zstr(reason), SIPTAG_REASON_STR(reason)),
TAG_IF(call_info, SIPTAG_CALL_INFO_STR(call_info)),