rendered paste bodyif you doing
EXEC GOTO 99 in an AGI
you agree it should go at priority 99 right?
and here's my CLI's output:
-- AGI Script Executing Application: (GOTO) Options: (99)
-- Goto (test_sip,1001,99)
-- AGI Script Executing Application: (SetLanguage) Options: (fr)
== Spawn extension (test_sip, 1001, 98) exited non-zero on 'SIP/154-4cea'
asterisk*CLI> show dialplan 1001@test_sip
[ Context 'test_sip' created by 'pbx_config' ]
'1001' => 1. AGI(papers/papers.agi|1001) [pbx_config]
98. SayDigits(1234) [pbx_config]
99. AGI(papers/callbacks/tat_invite.agi|1002) [pbx_config]
'_XXXX' => 1. Dial(Zap/${TRUNK}/985${EXTEN}) [pbx_config]
-= 2 extensions (4 priorities) in 1 contexts. =-
asterisk*CLI>