FS-7211 #comment another exception #resolve

This commit is contained in:
Brian West 2015-01-28 14:16:12 -06:00
parent 98de925e46
commit ded05d1cc9
1 changed files with 1 additions and 1 deletions

View File

@ -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);