From e10126942e9c605a4ab9f1122b4cce95e6cf73f5 Mon Sep 17 00:00:00 2001 From: FredWemyss <71783927+FredWemyss@users.noreply.github.com> Date: Wed, 23 Sep 2020 13:58:36 -0400 Subject: [PATCH] [mod_sofia] Add back sip Identity header into sip_i_identity variables in sofia_parse_all_invite_headers --- src/mod/endpoints/mod_sofia/sofia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 569c0c6821..ce45548478 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -431,6 +431,7 @@ static void sofia_parse_all_invite_headers(sip_t const *sip, switch_core_session sofia_add_invite_header_to_chanvars(channel, nh, sip->sip_to, "sip_i_to"); sofia_add_invite_header_to_chanvars(channel, nh, sip->sip_call_id, "sip_i_call_id"); sofia_add_invite_header_to_chanvars(channel, nh, sip->sip_cseq, "sip_i_cseq"); + sofia_add_invite_header_to_chanvars(channel, nh, sip->sip_identity, "sip_i_identity"); sofia_add_invite_header_to_chanvars(channel, nh, sip->sip_route, "sip_i_route"); sofia_add_invite_header_to_chanvars(channel, nh, sip->sip_max_forwards, "sip_i_max_forwards"); sofia_add_invite_header_to_chanvars(channel, nh, sip->sip_proxy_require, "sip_i_proxy_require");