mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-21 18:54:14 +00:00
add xferext command to sendmsg parser so you can send a list of instructions to a channel and build and extension and transfer to it from esl
This commit is contained in:
1 parent
e1a6fd27e0
commit
996b304019
4 files changed
+60
-1
No files matched your search
@@ -93,6 +93,12 @@ static void switch_core_standard_on_routing(switch_core_session_t *session)
|
||||
char *dp[25];
|
||||
int argc, x, count = 0;
|
||||
|
||||
if ((extension = switch_channel_get_queued_extension(session->channel))) {
|
||||
switch_channel_set_caller_extension(session->channel, extension);
|
||||
switch_channel_set_state(session->channel, CS_EXECUTE);
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (!zstr(caller_profile->dialplan)) {
|
||||
if ((dpstr = switch_core_session_strdup(session, caller_profile->dialplan))) {
|
||||
expanded = switch_channel_expand_variables(session->channel, dpstr);
|
||||
|
||||
Reference in new issue
Block a user