Hi, I’ve added a custom app for the following option in extensions_custom.conf…
exten => *61,1,Answer
exten => *61,2,AGI(weather.agi)
exten => *61,3,Hangup
exten => s,1,Answer
exten => s,2,AGI(weather.agi)
exten => s,3,Hangup (<—want to modify to loop back to primary IVR)
However, I want to use this option on my “primary” IVR as an option when a user calls into my system. I have the option setup in the IVR and when I select the option it plays the custom-weather app however, the current app (per line 3) performs a hangup when the application is complete. When the application has finished I want it to loop back to my primary IVR.
I looked around at other code but couldn’t located any specifiec examples. If someone could assist I would appreciate it.