mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-10792: [mod_sofia] when behind 1-to-1 NAT, console logs invalid handle #resolve
This commit is contained in:
parent
420c3ee10c
commit
4fabca25ef
@ -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)) {
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user