mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
add crazy transfer support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9530 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1956,7 +1956,9 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
|
||||
*dest_to++ = '\0';
|
||||
}
|
||||
|
||||
if ((host = strchr(dest, '%'))) {
|
||||
if (!strncasecmp(dest, "sip:", 4) || !strncasecmp(dest, "sips:", 5)) {
|
||||
tech_pvt->dest = switch_core_session_strdup(nsession, dest);
|
||||
} else if ((host = strchr(dest, '%'))) {
|
||||
char buf[128];
|
||||
*host = '@';
|
||||
tech_pvt->e_dest = switch_core_session_strdup(nsession, dest);
|
||||
|
||||
Reference in New Issue
Block a user