From a67645a4bcbe132910c8d5796c33540177345575 Mon Sep 17 00:00:00 2001 From: Brian West Date: Fri, 8 Jan 2010 01:05:05 +0000 Subject: [PATCH] use brackets to put params in the right place in contact strs git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16208 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 9dbd6476a6..e61b5dd920 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -3148,10 +3148,10 @@ switch_status_t config_sofia(int reload, char *profile_name) profile->bindurl = profile->url; } - profile->tcp_contact = switch_core_sprintf(profile->pool, "%s;transport=tcp", profile->url); + profile->tcp_contact = switch_core_sprintf(profile->pool, "<%s;transport=tcp>", profile->url); if (profile->public_url) { - profile->tcp_public_contact = switch_core_sprintf(profile->pool, "%s;transport=tcp", profile->public_url); + profile->tcp_public_contact = switch_core_sprintf(profile->pool, "<%s;transport=tcp>", profile->public_url); } if (profile->bind_params) { @@ -3224,9 +3224,9 @@ switch_status_t config_sofia(int reload, char *profile_name) if (!profile->tls_cert_dir) { profile->tls_cert_dir = switch_core_sprintf(profile->pool, "%s/ssl", SWITCH_GLOBAL_dirs.conf_dir); } - profile->tls_contact = switch_core_sprintf(profile->pool, "%s;transport=tls", profile->tls_url); + profile->tls_contact = switch_core_sprintf(profile->pool, "<%s;transport=tls>", profile->tls_url); if (profile->tls_public_url) { - profile->tls_public_contact = switch_core_sprintf(profile->pool, "%s;transport=tls", profile->tls_public_url); + profile->tls_public_contact = switch_core_sprintf(profile->pool, "<%s;transport=tls>", profile->tls_public_url); } } }