From a893812665a6f541a7d6566a10589b6d523f2316 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 12 Nov 2009 15:12:32 +0000 Subject: [PATCH] FSCORE-486 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15446 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_play_say.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index e3e8004dbb..9b34cc7d33 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -597,6 +597,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se if (switch_event_create(&event, SWITCH_EVENT_RECORD_START) == SWITCH_STATUS_SUCCESS) { switch_channel_event_set_data(channel, event); + switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Record-File-Path", file); switch_event_fire(&event); } @@ -707,6 +708,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se if (switch_event_create(&event, SWITCH_EVENT_RECORD_STOP) == SWITCH_STATUS_SUCCESS) { switch_channel_event_set_data(channel, event); + switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Record-File-Path", file); switch_event_fire(&event); }