From 403a2d9b4946fd304467afa54ddc9903ab34f564 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 2 Nov 2009 15:41:01 +0000 Subject: [PATCH] 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 --- src/mod/endpoints/mod_sofia/mod_sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;