How to set variable from IVR Menu?

Status
Not open for further replies.

JoyceBabu

New Member
Jun 7, 2022
8
0
1
39
I want to present a language selection menu, and set a variable depending on the option pressed by the caller. How can I do this from IVR Menu?

I tried entering
Code:
menu-exec-app:set ivrs_lang=1

1674653530225.png

But the value is lost on clicking save.

1674653558271.png
 

JoyceBabu

New Member
Jun 7, 2022
8
0
1
39
Thank you @DigitalDaz for re-opening the thread. There was an error in the command that I shared earlier. The app should be checked out to /var/www/fusionpbx/app. The correct command is

Code:
cd /var/www/fusionpbx/app && git clone https://github.com/fusionpbx/fusionpbx-app-dialplan_tools dialplan_tools
 
Status
Not open for further replies.