mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-15 15:54:13 +00:00
refactor enterprise_originate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15565 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
8046beba83
commit
2fa0c4910f
23 files changed
+192
-160
No files matched your search
@@ -4292,7 +4292,7 @@ void *SWITCH_THREAD_FUNC nightmare_xfer_thread_run(switch_thread_t *thread, void
|
||||
switch_channel_t *channel_a = switch_core_session_get_channel(session);
|
||||
|
||||
status = switch_ivr_originate(NULL, &tsession, &cause, nhelper->exten, timeout, NULL, NULL, NULL,
|
||||
switch_channel_get_caller_profile(channel_a), nhelper->vars, SOF_NONE);
|
||||
switch_channel_get_caller_profile(channel_a), nhelper->vars, SOF_NONE, NULL);
|
||||
|
||||
if ((switch_channel_up(channel_a))) {
|
||||
if (status != SWITCH_STATUS_SUCCESS || cause != SWITCH_CAUSE_SUCCESS) {
|
||||
|
||||
Reference in new issue
Block a user