Goto sometimes doesn't work in phpagi

Hi!

Sometimes, when I want to use exec_goto() in my phpagi script it doesn’t work. The Asterisk CLI show me this:

[quote]-- AGI Script Executing Application: (goto) Options: (from-pstn,06,1)
– Goto (from-pstn,06,1)

== Spawn extension (from-pstn, 06, 0) exited non-zero on ‘SIP/NeoPhoneX-out-00000139’[/quote]

If I call a Goto() in the dialplan, after the agi script, it works! :imp:

Thanks!