If ive that in my Dialplan, it works perfectly:
exten => 1010,1,Goto(test_sip,30003,1);
but if im doing:
EXEC GOTO test_sip,30003,1
i've that CLI's output:
-- Executing AGI("SIP/154-8810", "papers/papers.agi|1001") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/papers/papers.agi
-- AGI Script Executing Application: (GOTO) Options: (test_sip,1001,99)
Jun 2 15:35:50 NOTICE[13480]: pbx.c:1698 pbx_extension_helper: No such label 'test_sip,1001,99' in extension '1001' in context 'test_sip'
Jun 2 15:35:50 WARNING[13480]: pbx.c:6261 ast_parseable_goto: Priority 'test_sip,1001,99' must be a number > 0, or valid label
-- AGI Script Executing Application: (SetLanguage) Options: (fr)
-- AGI Script Executing Application: (GOTO) Options: (test_sip|1001|99)
-- Goto (test_sip,1001,99)
== Spawn extension (test_sip, 1001, 98) exited non-zero on 'SIP/154-8810'