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