switch_ivr_originate: export variables were broken since b946ee94 4 aug 2011

上级 46f097c1
...@@ -1843,6 +1843,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess ...@@ -1843,6 +1843,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
} }
} }
if (caller_channel) {
switch_channel_process_export(caller_channel, NULL, var_event, SWITCH_EXPORT_VARS_VARIABLE);
}
/* strip leading spaces */ /* strip leading spaces */
while (data && *data && *data == ' ') { while (data && *data && *data == ' ') {
data++; data++;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论