None that I'm aware of. You'll probably have to parse the results of "show channels" and search through the "name" field results. For example, here's a call I just made from a SIP phone to 9999: freeswitch@internal> show channels uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate 53a62ebd-156c-4684-b616-740d7a5b609b,inbound,2009-04-23 11:14:09,1240510449,sofia/internal/1000@10.15.0.91 ,CS_EXECUTE,Mikey,1000,10.15.0.213,9999,playback,local_stream://moh,XML,default,PCMU,8000,PCMU,8000 In this case, "name" contains "sofia/internal/1000@10.15.0.91". From there you should be able to determine if that is one of the SIP clients whose status you want to see. -MC On Thu, Apr 23, 2009 at 1:30 AM, Baskar <yudha2008@gmail.com> wrote:
Hi, Raul Fragoso:*I can to get that through Mysql DB but i want to know whether there is any **api command to check the status of the extension(1000).*
*If the agent register 1000 in xlite.
The registered users can be viewed by api command api sofia status profile default.
After that if i want to view the status of that extension 1000 whether he is in calling are in ideal. * *There is any api command to check the status of the extension(1000).
Thanks with Advance.*
* -- Warm Regards, N.Baskar *
_______________________________________________ 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