提交 3fc0f2f2 authored 作者: Michael S Collins's avatar Michael S Collins

Add missing IVR config item: confirm-key. Variable was being passed into the…

Add missing IVR config item: confirm-key. Variable was being passed into the init function but it never got put into the data struct
上级 56d397fc
...@@ -157,6 +157,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_menu_init(switch_ivr_menu_t ** new_me ...@@ -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); 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)) { if (!zstr(confirm_macro)) {
menu->confirm_macro = switch_core_strdup(menu->pool, confirm_macro); menu->confirm_macro = switch_core_strdup(menu->pool, confirm_macro);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论