[Freeswitch-users] Check user status before bridge

Michael Collins msc at freeswitch.org
Wed Dec 26 23:03:52 MSK 2012


Yeah, that's not the easiest nut to crack. However, if you're willing to
make some assumptions then you could do a show channels and then grab all
the "presence_id" values. If you see <user>@<domain> then you could assume
that the user is on a call.

-MC

On Wed, Dec 26, 2012 at 11:53 AM, Lloyd Aloysius
<lloyd.aloysius at gmail.com>wrote:

> Hello,
>
> Is there a way using lua to check the user status before bridge a call. I
> want to check if the user is already on another the call or session?
>
> Thanks
> Lloyd
>
> _________________________________________________________________________
> 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
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121226/849d1f45/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list