]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
we use a semicolon for contact params instead of the ampersand.
authorBrian West <brian@freeswitch.org>
Sun, 28 Sep 2008 22:32:36 +0000 (22:32 +0000)
committerBrian West <brian@freeswitch.org>
Sun, 28 Sep 2008 22:32:36 +0000 (22:32 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9704 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 48f3585a373ddffd6c1149740ea454bf1f56209e..7af8a41362ac6944a789c2f644bdbb4a86d18b9a 100644 (file)
@@ -924,9 +924,9 @@ 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 (*contact_params == ';') {
-                                       params = switch_core_sprintf(gateway->pool, "%s&transport=%s", contact_params, register_transport);
+                                       params = switch_core_sprintf(gateway->pool, "%s;transport=%s", contact_params, register_transport);
                                } else {
-                                       params = switch_core_sprintf(gateway->pool, ";%s&transport=%s", contact_params, register_transport);
+                                       params = switch_core_sprintf(gateway->pool, ";%s;transport=%s", contact_params, register_transport);
                                }
                        } else {
                                params = switch_core_sprintf(gateway->pool, ";transport=%s", register_transport);