mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-17 04:06:59 +00:00
declinatio mortuus obfirmo!
This commit is contained in:
parent
70dca6dd4b
commit
f079f898cb
@ -1490,6 +1490,7 @@ void sofia_reg_handle_sip_i_register(nua_t *nua, sofia_profile_t *profile, nua_h
|
|||||||
int network_port = 0;
|
int network_port = 0;
|
||||||
char *is_nat = NULL;
|
char *is_nat = NULL;
|
||||||
|
|
||||||
|
#if 0 /* This seems to cause undesirable effects so nevermind */
|
||||||
if (sip->sip_to && sip->sip_to->a_url && sip->sip_to->a_url->url_host) {
|
if (sip->sip_to && sip->sip_to->a_url && sip->sip_to->a_url->url_host) {
|
||||||
const char *to_host = sip->sip_to->a_url->url_host;
|
const char *to_host = sip->sip_to->a_url->url_host;
|
||||||
if (profile->reg_db_domain) {
|
if (profile->reg_db_domain) {
|
||||||
@ -1500,6 +1501,7 @@ void sofia_reg_handle_sip_i_register(nua_t *nua, sofia_profile_t *profile, nua_h
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
sofia_glue_get_addr(nua_current_request(nua), network_ip, sizeof(network_ip), &network_port);
|
sofia_glue_get_addr(nua_current_request(nua), network_ip, sizeof(network_ip), &network_port);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user