From 05a2d598c73e4f073e21a2f6e6300b310dc4ae58 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 25 Jan 2010 15:11:54 +0000 Subject: [PATCH] FSCORE-539 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16512 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_menu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/switch_ivr_menu.c b/src/switch_ivr_menu.c index 7b67b8b962..16ff326fc9 100644 --- a/src/switch_ivr_menu.c +++ b/src/switch_ivr_menu.c @@ -499,6 +499,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_menu_execute(switch_core_session_t *s break; case SWITCH_IVR_ACTION_PLAYSOUND: status = switch_ivr_play_file(session, NULL, aptr, NULL); + running = 0; break; case SWITCH_IVR_ACTION_EXECMENU: if (!strcmp(aptr, menu->name)) { @@ -506,6 +507,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_menu_execute(switch_core_session_t *s } else { reps = -1; status = switch_ivr_menu_execute(session, stack, aptr, obj); + running = 0; } break; case SWITCH_IVR_ACTION_EXECAPP: @@ -526,6 +528,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_menu_execute(switch_core_session_t *s switch_core_session_exec(session, application_interface, app_arg); UNPROTECT_INTERFACE(application_interface); status = SWITCH_STATUS_SUCCESS; + running = 0; } } }