add calls to execute_on_post_originate for a leg too
This commit is contained in:
parent
29628007f4
commit
c9d6b801ab
|
@ -3727,6 +3727,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
|||
switch_safe_free(fail_on_single_reject_var);
|
||||
|
||||
if (caller_channel) {
|
||||
|
||||
switch_channel_execute_on(caller_channel, SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE);
|
||||
switch_channel_api_on(caller_channel, SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE);
|
||||
|
||||
switch_channel_clear_flag(caller_channel, CF_ORIGINATOR);
|
||||
switch_channel_clear_flag(caller_channel, CF_XFER_ZOMBIE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue