From: Brian West Date: Wed, 28 Jan 2015 20:16:12 +0000 (-0600) Subject: FS-7211 #comment another exception #resolve X-Git-Tag: v1.4.17~1^2~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ded05d1cc9536d11bc6cddc9797ed93e1365ccb7;p=thirdparty%2Ffreeswitch.git FS-7211 #comment another exception #resolve --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index a9793b9fe0..098d7a5b3a 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -4518,7 +4518,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session c++; tech_pvt->e_dest = switch_core_session_strdup(nsession, c); } - } else if (!mod && (host = strchr(dest, '%'))) { + } else if (!mod && !strchr(dest, '@') && (host = strchr(dest, '%'))) { char buf[1024]; *host = '@'; tech_pvt->e_dest = switch_core_session_strdup(nsession, dest);