I'm creating a new IVR that needs to retrieve data from a web service. I'm trying to use a Custom Destination and then creating a context in extensions_custom.conf which will call my agi script. I've named my Custom Destination Main-IVR, and created my entry in extensions_custom.conf, but I get a Gosub address is invalid: 'Main-IVR(). For now, I have test code just to see if I can reach my Custom Destination and playback some digits.
The custom destination code in extensions_additional.conf
[customdests]
exten => dest-1,1,Noop(Entering Custom Destination Main-IVR)
exten => dest-1,n,Gosub(Main-IVR())
exten => dest-1,n,Noop(Returned from Custom Destination Main-IVR)
exten => dest-1,n,Goto(app-announcement-1,s,1)
The extensions_customer.conf code
[Main-IVR]
exten => s,1,SayDigits(8675309)
Any advice on what my issue is would be greatly appreciated!! I'm running version 12 right now (need to upgrade!)