From 700c1156328f347c794960336743dce3261f1036 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 15 Feb 2007 20:02:52 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4292 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/switch_ivr.c b/src/switch_ivr.c index ed62796e3b..8ab209d156 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -4980,6 +4980,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_generate_xml_cdr(switch_core_session_ if (!(x_application = switch_xml_add_child_d(x_caller_extension, "application", app_off++))) { goto error; } + if (ap == caller_profile->caller_extension->current_application) { + switch_xml_set_attr_d(x_application, "last_executed", "true"); + } switch_xml_set_attr_d(x_application, "app_name", ap->application_name); switch_xml_set_attr_d(x_application, "app_data", ap->application_data); }