How to back to AGI after executing an application

i write an AGI, that execute some context of asterisk and for that case i have to execute goto application in AGI but goto will not return to that line of agi. i found that “dial” with “g” option will return back but my problem is that i cant dial a context for example : dial(4000@mycontext)

what is the best solution ?

You could try using a local channel.

Dial(LOCAL/4000@mycontext,90,g)

1 Like