Hi there,
I am trying to use menu-exec-api for the first time. But I am getting the error:
[WARNING] switch_ivr_menu.c:718 Invalid Action [menu-exec-api]
[ERR] switch_ivr_menu.c:865 Unable to build xml menu
If I check the code I don't see a menu-exec-api action:
static struct iam_s {
const char *name;
switch_ivr_action_t action;
} iam[] = {
{
"menu-exit", SWITCH_IVR_ACTION_DIE}, {
"menu-sub", SWITCH_IVR_ACTION_EXECMENU}, {
"menu-exec-app", SWITCH_IVR_ACTION_EXECAPP}, {
"menu-play-sound", SWITCH_IVR_ACTION_PLAYSOUND}, {
"menu-back", SWITCH_IVR_ACTION_BACK}, {
"menu-top", SWITCH_IVR_ACTION_TOMAIN}, {
NULL, 0}
};
I am on GIT HEAD from Saturday.
I am really confused. What am I missing? Can someone confirm that menu-exec-api is still valid?
Thanks
Pj