From 2b17e82dd4920ccddc0c67c7cf91e3a7fc099b1d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 3 Jul 2012 11:06:12 -0500 Subject: [PATCH] FS-4380 --resolve --- src/mod/applications/mod_sms/mod_sms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_sms/mod_sms.c b/src/mod/applications/mod_sms/mod_sms.c index ee13481c03..8b747cb015 100644 --- a/src/mod/applications/mod_sms/mod_sms.c +++ b/src/mod/applications/mod_sms/mod_sms.c @@ -262,7 +262,7 @@ static int parse_exten(switch_event_t *event, switch_xml_t xexten, switch_event_ if (xinline) { switch_core_execute_chat_app(event, application, app_data); } else { - switch_event_add_header_string(*extension, SWITCH_STACK_BOTTOM, application, zstr(data) ? "__undef" : data); + switch_event_add_header_string(*extension, SWITCH_STACK_BOTTOM, application, zstr(app_data) ? "__undef" : app_data); } } switch_safe_free(substituted);