[asterisk-users] detecting busy on queue transfer
Adam Goryachev
mailinglists at websitemanagers.com.au
Sun Oct 1 08:49:15 MST 2006
Lenz wrote:
> [queuetransfer]
> exten => _0.,1,DigitTimeout(5)
> exten => _0.,2,ResponseTimeout(10)
> exten => _0.,3,Answer
> exten => _0.,4,NoOp
> exten => _0.,5,NoOp
> exten => _0.,6,SetCallerPres(prohib)
> exten => _0.,7,Dial(Zap/g1/${EXTEN:1})
> exten => _0.,108,NoOp(Got busy here)
>
> As you can see, a transfer from a queue is routed to context
> queuetransfer to be processed. There it gets all numbers starting with
> 0 and tries to dial out. Extension 108 should be hit on busy, and in
> fact it is - the execution goes there and is processed, i.e. I get the
> string printed out on the console. The problem is that at the moment
> it gets the busy, the logic seems to exit from the queue in [nQueue],
> so the agent's telephone starts reporting a busy tone and there is no
> way to get conversation on the agent's phone anymore. Is there
> anything stupid that I'm missing?
Try adding this line:
exten => _0.,109,Hangup
Dunno if it will solve it, but might help :)
Regards,
Adam
More information about the asterisk-users
mailing list