Quiz after a call ends


I have a callcenter. External customers call to queue, agents pick up, talk with customer and hangup.
I need a call to be transferred to specific context after hangup. Context is this:

[quiz] exten => s,1,Verbose(2,Starting quiz) exten => s,2,Playback(custom/q_hi) exten => s,3,Read(a1,,1,n,2,10) exten => s,4,Verbose(2,Answered ${answ}) exten => s,5,AGI(quiz.php,1,${a1}) exten => s,n,Hangup()

I tried to use Goto in h extension, but this fails - no playback is available after h extension is called.

If you are using Queue, and unless an equivalent of the Dial g option has been added recently, you will need to interpose a non-optimising Local channel, so that you can use the g option.

I think Queue() option c is equivalent of Dial() option g.

Looks like this works via ā€œcā€ option in Queue()
I put Goto string after string where I call Queue and it works.