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@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@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