Project "FreeSWITCH Source" received a push.

branch: master updated

       via: 06988e1a36d0f6f8b35651d36fdab79ac8c63c5c (commit)
      from: 3cd120a02e28225cc89f6898a317fd4f93b0c138 (commit)


= COMMIT LOG ===========================================================
committer: Brian West
comments: 
FS-3084

diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c
index 8a3d1b1..90193ac 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 {
========================================================================

Summary of changes:
 src/mod/endpoints/mod_sofia/sofia.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630 --
FreeSWITCH Source