I'm sure there is a way. I have a dynamic phone book that reads active users, then display a C2D link. This would work if there where other numbers other than internal extensions listed[long distance numbers].
It's PHP based, and works with all our Polycom phones. Similar code can be manipulated to invoke a call back to whoever click on the link, but you would need to get their phone number from them first, interactively from the website... Then you need to invoke the call back module and inject their number to call back, THEN as that's happening, the system rings a group, or single extension. You can also plant a permenet-ish cookie so they would never need to do it again...Then it's a single click to call after the first time.
So in short I don't think there is a SIMPLE SINGLE CLICK to CALL, for someone outside to invoke your phone to ring from a website.
Right now I send the incoming call to a ring group with a couple of sip extensions and my mobile number, but you can send it to a IVR or wherever you want.
And you should also customize the page look, of course.
Is it possible to make it call a queue intead of an extension or an external number?
Even better, would it be possible that when it makes the call and the person who wanted to call me answers the phone, to have an announcement and then the queue? Or directly the queue but it should start the announcement only after the other party picks up!!
Sure, why not...set up a queue and static that number into a variable from the C2C script(?number=xxx)So it always calls that number. As for announcements, make one and use it in your call queue, or have the announcement send the caller to the queue.
And depending on what site they clicked on you can play with different queue weights (make one more of a priority) which bumps those "important callers" to the front of the line...
try it without the "SIP/" Just the number. I just forced the link via C?P and it worked right into our Tech Support queue.
c2c.php?number=XXX <--- XXX = Queue#
My setup is slightly different from yours, but this worked local for me.
Also that means forget about the local/...@from/// stuff. just put the number that follows your dialplan when XXX is. To call a cell phone just put the number in in a way asterisk can route it for your setup. 1NXXNXXXXXX would work for me.
The only thing that I can think if at the moment is send them to an IVR that requires them to push 1 to continue kind of thing, then send them to the time condition.
otherwise the playing before pickup, would need a timer, and that may not work either since you don't know when the real pick up will happen. get user intervention with 1 button, to know they are there, and start the call build the way you want it.