From 348ac898099aee448093c3a61b72f3a563cf4389 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 31 Jan 2012 11:03:09 -0600 Subject: [PATCH] FS-3855 --resolve --- src/mod/endpoints/mod_sofia/sofia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 500fc6cace..4634f9f9bd 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2675,11 +2675,11 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag) profile->tls_sip_port : profile->sip_port, params, str_rfc_5626); } else { - format = strchr(sipip, ':') ? "" : ""; + format = strchr(sipip, ':') ? "" : ""; gateway->register_contact = switch_core_sprintf(gateway->pool, format, extension, sipip, sofia_glue_transport_has_tls(gateway->register_transport) ? - profile->tls_sip_port : profile->sip_port, params,contact_params); + profile->tls_sip_port : profile->sip_port, params); } } else { if (rfc_5626) {