]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
profiles that start with the word gateway are not special just profile exactly calle...
authorBrian West <brian@freeswitch.org>
Mon, 2 Nov 2009 15:41:01 +0000 (15:41 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 2 Nov 2009 15:41:01 +0000 (15:41 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15317 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index 891f782193ac087d8ca325e4e8f309c3eb55680f..006076cfa085289d89f6487a12b3fc9cec8d642b 100644 (file)
@@ -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;