diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 40a68ec471..0e89b9049b 100755 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -1375,6 +1375,7 @@ SWITCH_STANDARD_APP(event_function) switch_assert(new); memcpy(new, val, len); event->subclass_name = new; + switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, var, val); } else { switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, var, val); }