From 260d1a40e382da5458043e8883eeaa93b5c1dcde Mon Sep 17 00:00:00 2001 From: Seven Du Date: Fri, 6 Dec 2019 16:40:29 +0800 Subject: [PATCH] [mod_sofia] add contact header in REFER --- src/mod/endpoints/mod_sofia/mod_sofia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 4b6c463261..9ec1083cd3 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -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]) {