From: Michael S Collins Date: Wed, 20 Feb 2013 17:45:06 +0000 (-0800) Subject: Add missing IVR config item: confirm-key. Variable was being passed into the init... X-Git-Tag: v1.3.13~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fc0f2f28d0ed628af59fd40ce04039d1d363334;p=thirdparty%2Ffreeswitch.git Add missing IVR config item: confirm-key. Variable was being passed into the init function but it never got put into the data struct --- diff --git a/src/switch_ivr_menu.c b/src/switch_ivr_menu.c index e0ac169bf6..d4eabb536d 100644 --- a/src/switch_ivr_menu.c +++ b/src/switch_ivr_menu.c @@ -157,6 +157,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_menu_init(switch_ivr_menu_t ** new_me menu->exit_sound = switch_core_strdup(menu->pool, exit_sound); } + if (!zstr(confirm_key)) { + menu->confirm_key = switch_core_strdup(menu->pool, confirm_key); + } + if (!zstr(confirm_macro)) { menu->confirm_macro = switch_core_strdup(menu->pool, confirm_macro); }