Re: [Freeswitch-users] How to check Sofia status

2009-04-23 Thread Raul Fragoso
The simplest way to find if the extension is already on a call is to check the sip_dialogs table (by default it's stored in a sqlite database in db/sofia_reg_internal.db, but you can set the sofia profile to use ODBC and store the tables in another DBMS, like MySQL, PostgreSQL, etc). The following

Re: [Freeswitch-users] How to check Sofia status

2009-04-23 Thread Baskar
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

Re: [Freeswitch-users] How to check Sofia status

2009-04-23 Thread Michael Collins
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 : freeswi...@internal show channels

[Freeswitch-users] How to check Sofia status

2009-04-22 Thread Baskar
Hi, There is any api command to check the status of the extension whether the agent is in ideal or in calling . Can any one asset me to solve the problem. Thanks in advance -- Warm Regards, N.Baskar ___ Freeswitch-users mailing list

Re: [Freeswitch-users] How to check Sofia status

2009-04-22 Thread Michael Collins
Could you add some more details to this question? I'm not sure I understand what you mean... Thanks, MC On Wed, Apr 22, 2009 at 12:58 AM, Baskar yudha2...@gmail.com wrote: Hi, There is any api command to check the status of the extension whether the agent is in ideal or in calling . Can

Re: [Freeswitch-users] How to check Sofia status

2009-04-22 Thread Dan Le
I think he's asking if there's a way to check the status of a registered user; if the user is idle versus in a call. On Wed, Apr 22, 2009 at 12:38 PM, Michael Collins m...@freeswitch.orgwrote: Could you add some more details to this question? I'm not sure I understand what you mean... Thanks,

Re: [Freeswitch-users] How to check Sofia status

2009-04-22 Thread Baskar
*Hi, Michael Collins: I will explain in Detail 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