mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
FSMOD-61
This commit is contained in:
@@ -1744,18 +1744,18 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
|
||||
}
|
||||
}
|
||||
|
||||
if (!rpid_domain) {
|
||||
rpid_domain = "cluecon.com";
|
||||
}
|
||||
|
||||
if (sofia_test_pflag(tech_pvt->profile, PFLAG_AUTO_NAT)) {
|
||||
if (!zstr(tech_pvt->remote_ip) && sofia_glue_check_nat(tech_pvt->profile, tech_pvt->remote_ip)) {
|
||||
if (!zstr(tech_pvt->remote_ip) && !zstr(profile->extsipip) && sofia_glue_check_nat(tech_pvt->profile, tech_pvt->remote_ip)) {
|
||||
rpid_domain = tech_pvt->profile->extsipip;
|
||||
} else {
|
||||
rpid_domain = tech_pvt->profile->sipip;
|
||||
}
|
||||
}
|
||||
|
||||
if (zstr(rpid_domain)) {
|
||||
rpid_domain = "cluecon.com";
|
||||
}
|
||||
|
||||
/*
|
||||
* Ignore transport chanvar and uri parameter for gateway connections
|
||||
* since all of them have been already taken care of in mod_sofia.c:sofia_outgoing_channel()
|
||||
|
||||
Reference in New Issue
Block a user