Problem with callcenter configuration (don't register agents and tiers)
Hello all! Freeswitch version - 1.2.8, installed in Centos. Freeswitch always goes for configuration to our server (on which CakePHP is situated) I have problem with callcenter module in freeswitch. In mod_xml_curl add two bindings: dialplan and configuration. < binding name="configuration"> < param name="use-dynamic-url" value="yes"/> < param name="gateway-url" value="http://example.comt/freeswitch/configuration/${our_queue_name}${company_id}" bindings="configuration"/> < /binding> So, when I restart (start) freeswitch or reload mod_callcenter - FS request default configuration for callcenter and it works great (FS add queues, agents and tiers). After that in dialplan for specific number I set application callcenter with specific name and set 2 global variables, *our_queue_name* and *company_id*, which send to me with a name of queue and company id. -- this works fine When I receive from freeswitch request - I configure xml from db data and send FS callcenter configuration. -- works fine. *FS get correct xml, but add only queue settings and absolutely ignoring adding agents and tiers.* -- This is my problem for now. I try to solve this situation by using lua scripts - no results. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problem-with-callcenter-config... Sent from the freeswitch-users mailing list archive at Nabble.com.
mod_callcenter reads configuration only once from xml_curl. You have to do a queue reload each time you change the agent/tier configuration, or manualy doing the modification with callcenter_config on cli. It's not like dialplan or directory configuration which doing a http request on each use. 2013/5/27 Anatolii <a.mykhalkiv@kwebbl.com>
Hello all!
Freeswitch version - 1.2.8, installed in Centos.
Freeswitch always goes for configuration to our server (on which CakePHP is situated)
I have problem with callcenter module in freeswitch.
In mod_xml_curl add two bindings: dialplan and configuration.
< binding name="configuration">
< param name="use-dynamic-url" value="yes"/>
< param name="gateway-url" value=" http://example.comt/freeswitch/configuration/${our_queue_name}${company_id}" bindings="configuration"/>
< /binding>
So, when I restart (start) freeswitch or reload mod_callcenter - FS request default configuration for callcenter and it works great (FS add queues, agents and tiers).
After that in dialplan for specific number I set application callcenter with specific name and set 2 global variables, *our_queue_name* and * company_id*, which send to me with a name of queue and company id. -- this works fine
When I receive from freeswitch request - I configure xml from db data and send FS callcenter configuration. -- works fine. *FS get correct xml, but add only queue settings and absolutely ignoring adding agents and tiers.*-- This is my problem for now.
I try to solve this situation by using lua scripts - no results.
------------------------------ View this message in context: Problem with callcenter configuration (don't register agents and tiers)<http://freeswitch-users.2379917.n2.nabble.com/Problem-with-callcenter-configuration-don-t-register-agents-and-tiers-tp7591135.html> Sent from the freeswitch-users mailing list archive<http://freeswitch-users.2379917.n2.nabble.com/>at Nabble.com.
_________________________________________________________________________ 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
Humm, sorry, I think I did a missread... your problem is a step backward... it's work great for us, we send the agent and tier info throw http as it was an xml callcenter configuration 2013/5/28 Regis M <regis.freeswitch.org@tornad.net>
mod_callcenter reads configuration only once from xml_curl. You have to do a queue reload each time you change the agent/tier configuration, or manualy doing the modification with callcenter_config on cli.
It's not like dialplan or directory configuration which doing a http request on each use.
2013/5/27 Anatolii <a.mykhalkiv@kwebbl.com>
Hello all!
Freeswitch version - 1.2.8, installed in Centos.
Freeswitch always goes for configuration to our server (on which CakePHP is situated)
I have problem with callcenter module in freeswitch.
In mod_xml_curl add two bindings: dialplan and configuration.
< binding name="configuration">
< param name="use-dynamic-url" value="yes"/>
< param name="gateway-url" value=" http://example.comt/freeswitch/configuration/${our_queue_name}${company_id}" bindings="configuration"/>
< /binding>
So, when I restart (start) freeswitch or reload mod_callcenter - FS request default configuration for callcenter and it works great (FS add queues, agents and tiers).
After that in dialplan for specific number I set application callcenter with specific name and set 2 global variables, *our_queue_name* and * company_id*, which send to me with a name of queue and company id. -- this works fine
When I receive from freeswitch request - I configure xml from db data and send FS callcenter configuration. -- works fine. *FS get correct xml, but add only queue settings and absolutely ignoring adding agents and tiers. * -- This is my problem for now.
I try to solve this situation by using lua scripts - no results.
------------------------------ View this message in context: Problem with callcenter configuration (don't register agents and tiers)<http://freeswitch-users.2379917.n2.nabble.com/Problem-with-callcenter-configuration-don-t-register-agents-and-tiers-tp7591135.html> Sent from the freeswitch-users mailing list archive<http://freeswitch-users.2379917.n2.nabble.com/>at Nabble.com.
_________________________________________________________________________ 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 for your answer. Yesterday, I try another way. I add tiers and agents in dialplan. For example, < action application="set" data="res=${callcenter_config(agent add agent_name agent_type" /> or is it a bad choice? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problem-with-callcenter-config... Sent from the freeswitch-users mailing list archive at Nabble.com.
It depends on what you are tryibg to accomplish and the complexity of your mod_callcenter setup. If you want your agents to be able to log in and log out themselves, doing it in the dial plan by giving them an access number is great. You could use params in the users entry in directory to set tier and queue as well, and set those as part of your login dialplan. Just an idea. My approach is to use xml dialplan as much as possible. There are a few reasons why I do that and certainly doesn't apply to everyone's use case. I saw this yesterday and I was going to add maybe putting together a simple web ui for your agents to use for this purpose. No special databases, nothing too spectacular. Use the users id and vm password for credentials. I'm assuming yoh arent using fusionpbx that has similar functiinality already built in. - BDF On May 29, 2013 8:17 AM, "Anatolii" <a.mykhalkiv@kwebbl.com> wrote:
Thanks for your answer.
Yesterday, I try another way. I add tiers and agents in dialplan. For example, < action application="set" data="res=${callcenter_config(agent add agent_name agent_type" />
or is it a bad choice?
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problem-with-callcenter-config... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ 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
Sorry, apparently I did not read your dialplan before posting. It's probably a good idea NOT to add agents via dialplan. Use static agents, set them inside the callcenter.conf.xml assuming agents dont change much. Use agent status to login/log out of the queues. You can change status of agents in a similar fashion inside the dialplan. - BDF On May 29, 2013 8:37 AM, "Brian Foster" <bdfoster@davri.com> wrote:
It depends on what you are tryibg to accomplish and the complexity of your mod_callcenter setup. If you want your agents to be able to log in and log out themselves, doing it in the dial plan by giving them an access number is great. You could use params in the users entry in directory to set tier and queue as well, and set those as part of your login dialplan. Just an idea.
My approach is to use xml dialplan as much as possible. There are a few reasons why I do that and certainly doesn't apply to everyone's use case.
I saw this yesterday and I was going to add maybe putting together a simple web ui for your agents to use for this purpose. No special databases, nothing too spectacular. Use the users id and vm password for credentials. I'm assuming yoh arent using fusionpbx that has similar functiinality already built in.
- BDF On May 29, 2013 8:17 AM, "Anatolii" <a.mykhalkiv@kwebbl.com> wrote:
Thanks for your answer.
Yesterday, I try another way. I add tiers and agents in dialplan. For example, < action application="set" data="res=${callcenter_config(agent add agent_name agent_type" />
or is it a bad choice?
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problem-with-callcenter-config... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ 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
You should probably use ESL/httapi etc with mod_callcenter API commands to handle adding tiers and agents, then you can have that called whenever you want. Cheers Alex On 28/05/13 09:37, Regis M wrote:
mod_callcenter reads configuration only once from xml_curl. You have to do a queue reload each time you change the agent/tier configuration, or manualy doing the modification with callcenter_config on cli.
It's not like dialplan or directory configuration which doing a http request on each use.
2013/5/27 Anatolii <a.mykhalkiv@kwebbl.com <mailto:a.mykhalkiv@kwebbl.com>>
Hello all!
Freeswitch version - 1.2.8, installed in Centos.
Freeswitch always goes for configuration to our server (on which CakePHP is situated)
I have problem with callcenter module in freeswitch.
In mod_xml_curl add two bindings: dialplan and configuration.
< binding name="configuration">
< param name="use-dynamic-url" value="yes"/>
< param name="gateway-url" value="http://example.comt/freeswitch/configuration/${our_queue_name}${company_id} <http://example.comt/freeswitch/configuration/$%7Bour_queue_name%7D$%7Bcompany_id%7D>" bindings="configuration"/>
< /binding>
So, when I restart (start) freeswitch or reload mod_callcenter - FS request default configuration for callcenter and it works great (FS add queues, agents and tiers).
After that in dialplan for specific number I set application callcenter with specific name and set 2 global variables, *our_queue_name* and *company_id*, which send to me with a name of queue and company id. -- this works fine
When I receive from freeswitch request - I configure xml from db data and send FS callcenter configuration. -- works fine. *FS get correct xml, but add only queue settings and absolutely ignoring adding agents and tiers.* -- This is my problem for now.
I try to solve this situation by using lua scripts - no results.
------------------------------------------------------------------------ View this message in context: Problem with callcenter configuration (don't register agents and tiers) <http://freeswitch-users.2379917.n2.nabble.com/Problem-with-callcenter-configuration-don-t-register-agents-and-tiers-tp7591135.html> Sent from the freeswitch-users mailing list archive <http://freeswitch-users.2379917.n2.nabble.com/> at Nabble.com.
_________________________________________________________________________ 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
-- This message has been scanned for viruses and dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is believed to be clean.
_________________________________________________________________________ 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 (4)
-
Alex Crow
-
Anatolii
-
Brian Foster
-
Regis M