[Freeswitch-users] How to check Sofia status

Michael Collins msc at freeswitch.org
Thu Apr 23 11:26:50 PDT 2009

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 at internal> show channels
11:14:09,1240510449,sofia/internal/1000 at

In this case, "name" contains "sofia/internal/1000 at". From there
you should be able to determine if that is one of the SIP clients whose
status you want to see.


On Thu, Apr 23, 2009 at 1:30 AM, Baskar <yudha2008 at 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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090423/8a66a0e3/attachment-0002.html 

More information about the FreeSWITCH-users mailing list