Click-to-call to a queue

i tried to use the click to call service here:
http://www.voipjots.com/2006/02/click-to-call-with-your-asteriskhome.html
voipjots.com/2006/02/click-t … khome.html

and it worked well, but i wants to redirect the call to a queue instead of certain extension, what i shall change in the script to do that?

Hi

you havent shown you script , But to send to a queue use a Local channel.

so where you have Channel=SIP/XXXXX
change this to

Channel= Local/1234@clicktocall

then in the dialplan have a context

[clicktocall]
exten=>1234,1,Noop(click to call)
exten=>1234,n,Queue(1234)
…etc etc

Ian
Web www.cyber-cottage.co.uk
Twitter @cyberco