FS-10792: [mod_sofia] when behind 1-to-1 NAT, console logs invalid handle #resolve

This commit is contained in:
Anthony Minessale 2017-11-15 12:53:51 -06:00
parent 420c3ee10c
commit 4fabca25ef

View File

@ -10668,7 +10668,7 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
if (sofia_glue_check_nat(profile, tech_pvt->mparams.remote_ip)) { if (sofia_glue_check_nat(profile, tech_pvt->mparams.remote_ip)) {
tech_pvt->user_via = sofia_glue_create_external_via(session, profile, tech_pvt->transport); tech_pvt->user_via = sofia_glue_create_external_via(session, profile, tech_pvt->transport);
nua_set_hparams(tech_pvt->nh, SIPTAG_VIA_STR(tech_pvt->user_via), TAG_END()); nua_set_hparams(nh, SIPTAG_VIA_STR(tech_pvt->user_via), TAG_END());
} }
if (sip->sip_contact) { if (sip->sip_contact) {