mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 13:35:00 +00:00
FS-3842 going to go on a hunch and push this change
This commit is contained in:
parent
ff379a97e5
commit
60fd5f9a73
@ -2622,8 +2622,9 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
|
|||||||
gateway->ping = switch_epoch_time_now(NULL) + ping_freq;
|
gateway->ping = switch_epoch_time_now(NULL) + ping_freq;
|
||||||
gateway->options_to_uri = switch_core_sprintf(gateway->pool, "<sip:%s;transport=%s>",
|
gateway->options_to_uri = switch_core_sprintf(gateway->pool, "<sip:%s;transport=%s>",
|
||||||
!zstr(from_domain) ? from_domain : proxy, register_transport);
|
!zstr(from_domain) ? from_domain : proxy, register_transport);
|
||||||
gateway->options_from_uri = switch_core_sprintf(gateway->pool, "<sip:%s;transport=%s>",
|
//gateway->options_from_uri = switch_core_sprintf(gateway->pool, "<sip:%s;transport=%s>",
|
||||||
profile->extrtpip ? profile->extrtpip : profile->sipip, register_transport);
|
// profile->extrtpip ? profile->extrtpip : profile->sipip, register_transport);
|
||||||
|
gateway->options_from_uri = gateway->options_to_uri;
|
||||||
} else {
|
} else {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "ERROR: invalid ping!\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "ERROR: invalid ping!\n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user