]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
put gateway contact params inside the <>
authorMichael Jerris <mike@jerris.com>
Thu, 18 Oct 2007 03:51:49 +0000 (03:51 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 18 Oct 2007 03:51:49 +0000 (03:51 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5960 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index b15a45517cf704c51a161b03f02e0276d9cb48b5..e5a6e82fae9dd61246fcc6f894baf265f75939b7 100644 (file)
@@ -656,7 +656,7 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
 
                        gateway->register_url = switch_core_sprintf(gateway->pool, "sip:%s", register_proxy);
                        gateway->register_from = switch_core_sprintf(gateway->pool, "sip:%s@%s", username, from_domain);
-                       gateway->register_contact = switch_core_sprintf(gateway->pool, "sip:%s@%s:%d%s", extension,
+                       gateway->register_contact = switch_core_sprintf(gateway->pool, "<sip:%s@%s:%d%s>", extension,
                                                                                                                        profile->extsipip ? profile->extsipip : profile->sipip, profile->sip_port, params);