menu-exec-api - Invalid Action [menu-exec-api]
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
Just for reference - although menu-exec-api is documented in the FreeSWITCH book and in the WIKI - it does not actually exist (and maybe never did) I have updated the WIKI. On Mon, Sep 27, 2010 at 9:39 AM, Phillip Jones <pjintheusa@gmail.com> wrote:
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
participants (2)
-
Brian West
-
Phillip Jones