mod_CallCenter: Agents not being logged out
Hi, I've configured FreeSWITCH with 4 agents, in the following manner: <agents> <agent name="1000@default" type="callback" contact="[call_timeout=10]user/1000" status="Available" max-no-answer="3" wrap-up-time="10" reject-delay-time="10" busy-delay-time="60" /> <agent name="1001@default" type="callback" contact="[origination_caller_id_name='Queue Caller',call_timeout=10]user/1001" status="Available" max-no-answer="30" wrap-up-time="10" reject-delay-time="10" busy-delay-time="60" /> <agent name="1002@default" type="callback" contact="[call_timeout=10]user/1002" status="Available" max-no-answer="3" wrap-up-time="10" reject-delay-time="10" busy-delay-time="60" /> <agent name="1003@default" type="callback" contact="[call_timeout=10]user/1003" status="Available" max-no-answer="3" wrap-up-time="10" reject-delay-time="10" busy-delay-time="60" /> </agents> <tiers> <tier agent="1000@default" queue="sales@default" level="1" position="1"/> <tier agent="1001@default" queue="support@default" level="1" position="1"/> <tier agent="1003@default" queue="sales@default" level="1" position="1"/> </tiers> Now I am trying to set an agent's status with this command at the console: callcenter_config [agent set status 'Logged out'] [1000@default] This command is executed alright, but when I execute "callcenter_config agent list", the status of 1000@default is still shown as "available"; why so? Also please tell me what should be the syntax if I want to set status when agent dials a number. And is there a way to set this status from outside, like from a web page click? Regards Nitin Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.
Now I am trying to set an agent’s status with this command at the console: callcenter_config [agent set status 'Logged out'] [1000@default]
This command is executed alright, but when I execute “callcenter_config agent list”, the status of 1000@default is still shown as “available”; why so?
Please see carefully how the command is written. It must be: callcenter_config agent set status [agent name] 'Logged Out'
Also please tell me what should be the syntax if I want to set status when agent dials a number. And is there a way to set this status from outside, like from a web page click?
On wiki http://wiki.freeswitch.org/wiki/Mod_callcenter#Script_to_announce_members_po... is an example for agent-login and agent-logout dialplan extension.
Hi, Thanks, I was able to log out the agent from FreeSWITCH console. And I was also able to define two extensions in dialpna.conf where agents can call to login/logout. But I am not able to do it from outside the system. I am not familiar with Python, is that the only way or it can be done through some other way as well? Regards Nitin -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Vbvbrj Sent: Monday, August 27, 2012 6:47 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_CallCenter: Agents not being logged out
Now I am trying to set an agent's status with this command at the console: callcenter_config [agent set status 'Logged out'] [1000@default]
This command is executed alright, but when I execute "callcenter_config agent list", the status of 1000@default is still shown as "available"; why so?
Please see carefully how the command is written. It must be: callcenter_config agent set status [agent name] 'Logged Out'
Also please tell me what should be the syntax if I want to set status when agent dials a number. And is there a way to set this status from outside, like from a web page click?
On wiki http://wiki.freeswitch.org/wiki/Mod_callcenter#Script_to_announce_members_po sition is an example for agent-login and agent-logout dialplan extension. _________________________________________________________________________ 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 Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.
Hello Nitin. Try this http://wiki.freeswitch.org/wiki/Freeswitch_XML-RPC Probably fits your use case 2012/8/28 Nitin Tomer <ntomer@newgen.co.in>
Hi,
Thanks, I was able to log out the agent from FreeSWITCH console. And I was also able to define two extensions in dialpna.conf where agents can call to login/logout.
But I am not able to do it from outside the system. I am not familiar with Python, is that the only way or it can be done through some other way as well?
Regards
Nitin
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Vbvbrj Sent: Monday, August 27, 2012 6:47 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_CallCenter: Agents not being logged out
Now I am trying to set an agent's status with this command at the console: callcenter_config [agent set status 'Logged out'] [1000@default ]
This command is executed alright, but when I execute "callcenter_config agent list", the status of 1000@default is still shown as "available"; why so?
Please see carefully how the command is written. It must be: callcenter_config agent set status [agent name] 'Logged Out'
Also please tell me what should be the syntax if I want to set status when agent dials a number. And is there a way to set this status from outside, like from a web page click?
On wiki
http://wiki.freeswitch.org/wiki/Mod_callcenter#Script_to_announce_members_po sition is an example for agent-login and agent-logout dialplan extension.
_________________________________________________________________________ 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
Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.
_________________________________________________________________________ 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
Thanks a lot. It worked J This mailing list has been a tremendous source of information and have drastically cut down my learning cycle. I am really grateful for that. Now one more question, I want a user to dial some information in the IVR system, and then the agent to be able to access that information. How can I achieve that? Thanks and Regards Nitin From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Antonio Teixeira Sent: Tuesday, August 28, 2012 5:21 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_CallCenter: Agents not being logged out Hello Nitin. Try this http://wiki.freeswitch.org/wiki/Freeswitch_XML-RPC Probably fits your use case 2012/8/28 Nitin Tomer <ntomer@newgen.co.in> Hi, Thanks, I was able to log out the agent from FreeSWITCH console. And I was also able to define two extensions in dialpna.conf where agents can call to login/logout. But I am not able to do it from outside the system. I am not familiar with Python, is that the only way or it can be done through some other way as well? Regards Nitin -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Vbvbrj Sent: Monday, August 27, 2012 6:47 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_CallCenter: Agents not being logged out
Now I am trying to set an agent's status with this command at the console: callcenter_config [agent set status 'Logged out'] [1000@default]
This command is executed alright, but when I execute "callcenter_config agent list", the status of 1000@default is still shown as "available"; why so?
Please see carefully how the command is written. It must be: callcenter_config agent set status [agent name] 'Logged Out'
Also please tell me what should be the syntax if I want to set status when agent dials a number. And is there a way to set this status from outside, like from a web page click?
On wiki http://wiki.freeswitch.org/wiki/Mod_callcenter#Script_to_announce_members_po sition is an example for agent-login and agent-logout dialplan extension. _________________________________________________________________________ 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 Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL. _________________________________________________________________________ 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 Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.
Well thats Harder . You can use an External DB or if you hack mod_callcenter maybe pass some SIP "Extra" Headers http://wiki.freeswitch.org/wiki/Strip_SIP_Headers And process them on the softphone or something like that but probably just make a script in your language of choice http://wiki.freeswitch.org/wiki/PHP_ESL And Use a DB To Store The Channel Vars Where the client keys are and the call uuid http://wiki.freeswitch.org/wiki/Session_uuid 2012/8/28 Nitin Tomer <ntomer@newgen.co.in>
Thanks a lot. It worked J****
** **
This mailing list has been a tremendous source of information and have drastically cut down my learning cycle. I am really grateful for that.****
** **
Now one more question, I want a user to dial some information in the IVR system, and then the agent to be able to access that information. How can I achieve that?****
** **
Thanks and Regards****
** **
Nitin****
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Antonio Teixeira *Sent:* Tuesday, August 28, 2012 5:21 PM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] mod_CallCenter: Agents not being logged out****
** **
Hello Nitin.
Try this http://wiki.freeswitch.org/wiki/Freeswitch_XML-RPC
Probably fits your use case ****
2012/8/28 Nitin Tomer <ntomer@newgen.co.in>****
Hi,
Thanks, I was able to log out the agent from FreeSWITCH console. And I was also able to define two extensions in dialpna.conf where agents can call to login/logout.
But I am not able to do it from outside the system. I am not familiar with Python, is that the only way or it can be done through some other way as well?
Regards
Nitin
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Vbvbrj Sent: Monday, August 27, 2012 6:47 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_CallCenter: Agents not being logged out
Now I am trying to set an agent's status with this command at the console: callcenter_config [agent set status 'Logged out'] [1000@default ]
This command is executed alright, but when I execute "callcenter_config agent list", the status of 1000@default is still shown as "available"; why so?
Please see carefully how the command is written. It must be: callcenter_config agent set status [agent name] 'Logged Out'
Also please tell me what should be the syntax if I want to set status when agent dials a number. And is there a way to set this status from outside, like from a web page click?
On wiki
http://wiki.freeswitch.org/wiki/Mod_callcenter#Script_to_announce_members_po sition is an example for agent-login and agent-logout dialplan extension.
_________________________________________________________________________ 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
Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.
_________________________________________________________________________ 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****
** **
Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.
_________________________________________________________________________ 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 (3)
-
Antonio Teixeira
-
Nitin Tomer
-
Vbvbrj