You can query the sip_dialogs table from core DB. We use it to find whether an extension is busy and the act upon user's prefference (waiting call, play busy or send to voicemail).
 
If you need more help please contact me off the list.
 
                     __Yehavi:

2010/4/17 babak yakhchali <babak.freeswitch@gmail.com>
Hi
Is there any way to check if a sip extension is busy or not? or find an idle sip extension?
Thanks

_______________________________________________
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