always export 'export_vars'

This commit is contained in:
Anthony Minessale 2010-04-22 15:30:55 -05:00
parent 28484a15e9
commit a96c2fcbfb
1 changed files with 3 additions and 0 deletions

View File

@ -1366,6 +1366,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_enterprise_originate(switch_core_sess
int argc; int argc;
char *argv[256]; char *argv[256];
switch_event_del_header(var_event, SWITCH_EXPORT_VARS_VARIABLE);
switch_event_add_header_string(var_event, SWITCH_STACK_BOTTOM, SWITCH_EXPORT_VARS_VARIABLE, export_vars);
if ((argc = switch_separate_string(cptmp, ',', argv, (sizeof(argv) / sizeof(argv[0]))))) { if ((argc = switch_separate_string(cptmp, ',', argv, (sizeof(argv) / sizeof(argv[0]))))) {
int x; int x;