From 60fd5f9a7322b2be00dcfbb5727e10bb923cab09 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 10 Feb 2012 12:13:52 -0600 Subject: [PATCH] FS-3842 going to go on a hunch and push this change --- src/mod/endpoints/mod_sofia/sofia.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 0668eedf57..fa1cd829b6 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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->options_to_uri = switch_core_sprintf(gateway->pool, "", !zstr(from_domain) ? from_domain : proxy, register_transport); - gateway->options_from_uri = switch_core_sprintf(gateway->pool, "", - profile->extrtpip ? profile->extrtpip : profile->sipip, register_transport); + //gateway->options_from_uri = switch_core_sprintf(gateway->pool, "", + // profile->extrtpip ? profile->extrtpip : profile->sipip, register_transport); + gateway->options_from_uri = gateway->options_to_uri; } else { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "ERROR: invalid ping!\n"); }