[Freeswitch-users] Problem with callcenter configuration (don't register agents and tiers)

Regis M regis.freeswitch.org at tornad.net
Tue May 28 12:37:01 MSD 2013


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 at 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 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/20130528/4f35a977/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list