[Freeswitch-users] detecting if user available before bridge

Ben Langfeld ben at langfeld.co.uk
Wed Jan 22 22:00:11 MSK 2014


There's an implicit race condition in this idea anyway. Why not attempt the
bridge, and fall back if it fails?


On 22 January 2014 16:04, ik <idokan at gmail.com> wrote:

> Hello,
>
> I need to find if a user is connected to FS currently.
> That is, not only registered (I found how to detect that<https://wiki.freeswitch.org/wiki/Function_sofia_contact>),
> but for example if I can communicate with it's soft-phone.
>
> I need to know if the soft-phone crashed for example, and if not, then not
> to send the bridge command at all, but actually been able to do something
> back in my application because of it.
>
> Is there a way to send for example an "option" header of some sort to a
> specific user prior to bridge command, and know it's result ?
>
> Thanks,
> Ido
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140122/230f168a/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list