From: Anthony Minessale Date: Tue, 31 Jan 2012 17:03:09 +0000 (-0600) Subject: FS-3855 --resolve X-Git-Tag: v1.2-rc1~19^2~1^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=348ac898099aee448093c3a61b72f3a563cf4389;p=thirdparty%2Ffreeswitch.git FS-3855 --resolve --- 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) {