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
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
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
Either use callcenter_config agent get state xxx for a specific agent or callcenter_config agent list for all agents Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org<mailto: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<mailto: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<mailto: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<mailto: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
Hi, <quote> 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. </quote> In this situation, if I use callcenter_config command, I don't really know how many agents registered. If one agent doesn't register, he or she should be unavailable in our monitor screen. Any suggestions? Jimmy ? 2013/4/9 ?? 02:48, Gerald Weber ??:
Either use
callcenter_config agent get state xxx for a specific agent
or
callcenter_config agent list for all agents
*Von:*freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org <mailto: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 <mailto: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 <mailto:consulting@freeswitch.org>
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
Official FreeSWITCH Sites
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________ 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
Then i guess you have to call sofia_contact <contact from agent> in your app for each of you agents which either returns the sip contact (sofia/internal/sip:2001@192.168.20.150:53372) or error/user_not_registered e.g.: freeswitch@fstest> sofia_contact [call_timeout=10]user/2001 sofia/internal/sip:2001@192.168.20.150:53372 freeswitch@fstest> another solution ist o patch mod_callcenter.c to support this in the agent list command Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Jimmy Chang Gesendet: Dienstag, 09. April 2013 09:40 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] get agent status Hi, <quote> 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. </quote> In this situation, if I use callcenter_config command, I don't really know how many agents registered. If one agent doesn't register, he or she should be unavailable in our monitor screen. Any suggestions? Jimmy 於 2013/4/9 下午 02:48, Gerald Weber 提到: Either use callcenter_config agent get state xxx for a specific agent or callcenter_config agent list for all agents Von: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@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@lists.freeswitch.org<mailto: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<mailto: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<mailto: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<mailto: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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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
Ok, I'll try it. Thanks. ? 2013/4/9 ?? 03:52, Gerald Weber ??:
Then i guess you have to call
sofia_contact <contact from agent>
in your app for each of you agents
which either returns the sip contact (sofia/internal/sip:2001@192.168.20.150:53372)
or error/user_not_registered
e.g.:
freeswitch@fstest> sofia_contact [call_timeout=10]user/2001
sofia/internal/sip:2001@192.168.20.150:53372
freeswitch@fstest>
another solution ist o patch mod_callcenter.c to support this in the agent list command
*Von:*freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *Im Auftrag von *Jimmy Chang *Gesendet:* Dienstag, 09. April 2013 09:40 *An:* FreeSWITCH Users Help *Betreff:* Re: [Freeswitch-users] get agent status
Hi,
<quote> 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. </quote>
In this situation, if I use callcenter_config command, I don't really know how many agents registered. If one agent doesn't register, he or she should be unavailable in our monitor screen.
Any suggestions?
Jimmy
? 2013/4/9 ?? 02:48, Gerald Weber ??:
Either use
callcenter_config agent get state xxx for a specific agent
or
callcenter_config agent list for all agents
*Von:*freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@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@lists.freeswitch.org <mailto: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 <mailto: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 <mailto:consulting@freeswitch.org>
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
Official FreeSWITCH Sites
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org <mailto:consulting@freeswitch.org>
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
Official FreeSWITCH Sites
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________ 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
participants (2)
-
Gerald Weber
-
Jimmy Chang