[Freeswitch-users] Force SIP UA to pick up call during ringing?
Raul Fragoso
raul at etellicom.com
Tue Jun 16 09:16:05 PDT 2009
I actually do that with our call center application. For all incoming
calls, our IVR engine parks the call in a virtual extension and plays
back prompts, advertisements, MOH, process digits, etc. When the queue
management finds an available agent, it sends an event to the client
application for that agent (with an optional screen-pop) where the agent
can click "Answer Call" and then we transfer the call with the
auto-answer header set on to the agent phone.
You could take a similar approach, if you're worrying about only
providing ring-back tone to the caller you can simply park the call and
use the playback app to play a tone_stream until the agent clicks the
web link, which will transfer the call from the parking extension to the
agent with the auto-answer flag.
I'm still willing to make some tests with REINVITE providing auto-answer
headers, as suggested by Mike. That would provide a more generic way to
answer calls programmatically when it's already ringing the endpoint. I
just need to find some time to read the sofia code and figure out how to
do that :)
Regards,
Raul
On Tue, 2009-06-16 at 02:19 +0200, Peter P GMX wrote:
> I have managed to have a realtme status of a phone on a web page with
> event_socket and a push service to the web bowser.
>
> What I am now trying to do is roughly the following:
>
> * when a call comes in, a flashing banner appears on the web page
> with an underlying link (this works so far)
> * when the user klicks on this flashing banner, the external SIP UA
> which is already ringing, shall pick up the call.
>
> I know that it's possible to autoanswer a call with the intercom
> feature. Also the SIP client X-Lite which we use here is able to
> autoanswer a call.
> I however want to manually decide when the UA takes the call with the
> following workflow:
>
> * X-Lite rings on incoming call
> * user klicks on the flashing banner
> * X-Lite takes the call
>
> What is the best way to have this done? Move the call to park and then
> retransfer again with intercom, or is there a better solution?
>
> Best regards
> Peter
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list