From 06988e1a36d0f6f8b35651d36fdab79ac8c63c5c Mon Sep 17 00:00:00 2001 From: Brian West Date: Sun, 20 Feb 2011 15:10:02 -0600 Subject: [PATCH] FS-3084 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 8a3d1b10f6..90193ac63a 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2135,7 +2135,7 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag) register_transport = (char *) sofia_glue_transport2str(gateway->register_transport); - if (contact_params) { + if (! zstr(contact_params)) { if (*contact_params == ';') { params = switch_core_sprintf(gateway->pool, "%s;transport=%s;gw=%s", contact_params, register_transport, gateway->name); } else {