I have set up a menu for an incomming did and I am getting an error with it. The thing I don’t get is if I call it from within the system, it works perfectly, I just get the issue when I try to call in externally. First my extension.conf and then the error:
[inbound]
exten => 18638770128,1,Goto(mainmenu,s,1)
[mainmenu]
exten => s,1,Answer()
exten => s,n,WaitExten()
exten => 999,1,wait(2)
exten => 999,n,Playback(/var/spool/asterisk/voicemail/default/123/unavail)
exten => 999,n,Goto(mainmenu,s,1)
exten => 888,1,wait(2)
exten => 888,n,Playback(/var/spool/asterisk/voicemail/default/456/unavail)
exten => 888,n,Goto(mainmenu,s,1)
the error from cli when I call in:
== Using SIP RTP CoS mark 5
– Executing [18638770128@inbound:1] Goto(“SIP/flowroute-00000054”, “mainmenu,s,1”) in new stack
– Goto (mainmenu,s,1)
– Executing [s@mainmenu:1] Answer(“SIP/flowroute-00000054”, “”) in new stack
– Executing [s@mainmenu:2] WaitExten(“SIP/flowroute-00000054”, “”) in new stack
[May 15 15:43:57] WARNING[29327]: pbx.c:10004 pbx_builtin_waitexten: Timeout but no rule ‘t’ or ‘e’ in context ‘mainmenu’
== Spawn extension (mainmenu, s, 2) exited non-zero on ‘SIP/flowroute-00000054’
Not sure what the deal is.