doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4126 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7d27962689
commit
27eed28376
|
@ -2992,7 +2992,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
|||
*cause = SWITCH_CAUSE_UNALLOCATED;
|
||||
|
||||
if (var_event) {
|
||||
if (!caller_channel) { /* install the vars from the {} params */
|
||||
if (peer_channel && !caller_channel) { /* install the vars from the {} params */
|
||||
switch_event_header_t *header;
|
||||
for (header = var_event->headers; header; header = header->next) {
|
||||
switch_channel_set_variable(peer_channel, header->name, header->value);
|
||||
|
|
Loading…
Reference in New Issue