From: Brian West Date: Mon, 2 Nov 2009 15:41:01 +0000 (+0000) Subject: profiles that start with the word gateway are not special just profile exactly calle... X-Git-Tag: v1.0.6~1539 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=403a2d9b4946fd304467afa54ddc9903ab34f564;p=thirdparty%2Ffreeswitch.git profiles that start with the word gateway are not special just profile exactly called gateway is git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15317 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 891f782193..006076cfa0 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -2877,7 +2877,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session dest_to = switch_core_session_strdup(nsession, hval); } - if (!strncasecmp(profile_name, "gateway", 7)) { + if (!strncasecmp(profile_name, "gateway/", 8)) { char *gw, *params; sofia_gateway_t *gateway_ptr = NULL;