[Freeswitch-users] get agent status
Jimmy Chang
chang33.tw at gmail.com
Tue Apr 9 12:21:39 MSD 2013
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 at 192.168.20.150:53372)
>
> or error/user_not_registered
>
> e.g.:
>
> freeswitch at fstest> sofia_contact [call_timeout=10]user/2001
>
> sofia/internal/sip:2001 at 192.168.20.150:53372
>
> freeswitch at fstest>
>
> another solution ist o patch mod_callcenter.c to support this in the
> agent list command
>
> *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 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 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 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
>
>
>
>
> _________________________________________________________________________
>
> 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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> 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/40db3453/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list