[mod_sofia] add contact header in REFER

This commit is contained in:
Seven Du 2019-12-06 16:40:29 +08:00 committed by Andrey Volk
parent 205bf55c8f
commit 260d1a40e3
1 changed files with 1 additions and 0 deletions

View File

@ -1548,6 +1548,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
nua_refer(tech_pvt->nh, SIPTAG_REFER_TO_STR(ref_to), SIPTAG_REFERRED_BY_STR(tech_pvt->contact_url),
TAG_IF(!zstr(extra_headers), SIPTAG_HEADER_STR(extra_headers)),
TAG_IF(!zstr(session_id_header), SIPTAG_HEADER_STR(session_id_header)),
SIPTAG_CONTACT_STR(tech_pvt->reply_contact),
TAG_END());
if (msg->string_array_arg[0]) {