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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *Im Auftrag von *Jimmy Chang *Gesendet:* Dienstag, 09. April 2013 06:56 *An:* freeswitch-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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