[Freeswitch-users] get agent status

Gerald Weber gerald.weber at besharp.at
Tue Apr 9 10:48:13 MSD 2013


Either use
callcenter_config agent get state xxx for a specific agent
or
callcenter_config agent list for all agents

Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Jimmy Chang
Gesendet: Dienstag, 09. April 2013 08:40
An: FreeSWITCH Users Help
Betreff: Re: [Freeswitch-users] get agent status

Hi,

That's what I want to know.
Thanks.

If I want to get lastest state of agent, any suggestions?
Thanks in advance.

Jimmy

於 2013/4/9 下午 01:57, Gerald Weber 提到:
Hi,

those 2 commands have nothing to do with each other.

list_users goes through the directory listing each configured user that can be used to register a sip device.
error/user_not_registered means that no sip device used the username to register with.

callcenter_config agent list lists the „agents“ defined in mod_callcenter.
They can be Available/Waiting even when their contact (the user/xxx thing) is not registered.

mod_callcenter agent != user

Hope this helps…or maybe i got your question wrong ?

Von: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Jimmy Chang
Gesendet: Dienstag, 09. April 2013 06:56
An: freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>
Betreff: [Freeswitch-users] get agent status

Hi,

I try to maintain the status(state) of the FS agents  from these two commands.
list_users
callcenter_config agent list

I'm confused with their results.
<list_users> says the agent is error/user_not_registered.
<callcenter_config agent list> says this agent is Available|Waiting.

Does this normal?
Should I change some other commands?

Thanks.
Jimmy




_________________________________________________________________________

Professional FreeSWITCH Consulting Services:

consulting at freeswitch.org<mailto:consulting at freeswitch.org>

http://www.freeswitchsolutions.com









Official FreeSWITCH Sites

http://www.freeswitch.org

http://wiki.freeswitch.org

http://www.cluecon.com



FreeSWITCH-users mailing list

FreeSWITCH-users at lists.freeswitch.org<mailto: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/20130409/dce72221/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list