Hi,

You can use sofia_contact, if the user isn't registered it'll return error/not_registered and will return a valid dial string if they are.

Regards,

On 30 June 2012 10:00, Samira Mh <saami_mh@ymail.com> wrote:
hi,
is there any channel variable / events etc .. for check the status of sip user ?
i am going to check the status of sip user when register to sip phone and when exit from sip phone (not registered)
using fs_cli we can check user is register or not " sofia status profile internal reg" but i want to check using event or channel on lua script

thanks...

_________________________________________________________________________
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

Join Us At ClueCon - Aug 7-9, 2012

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




--
Andrew Cassidy BSc (Hons) MBCS SSCA
Managing Director


T 03300 100 960  F 03300 100 961
E andrew@cassidywebservices.co.uk
W www.cassidywebservices.co.uk