[Freeswitch-users] detecting if user available before bridge

Avi Marcus avi at avimarcus.net
Wed Jan 22 22:16:55 MSK 2014


Because it will just have no response if you bridge...
How about a progress timeout set very low?

-Avi
On Jan 22, 2014 9:00 PM, "Ben Langfeld" <ben at langfeld.co.uk> wrote:

> 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
>>
>>
>
> _________________________________________________________________________
> 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/89b3c855/attachment.html 


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