I was wondering if there is any way to add queues and agents directly through database and bypass the Callcenter.conf altogether? I tried using ODBC in the core. So I have a MYSQL database for callcenter. I can add agents dynamically. Can I do that with queues somehow?
You can't bypass callcenter.conf, mod_callcenter reads queue configuration from xml and creates in memory structs to store the queues, but, you can use mod_xml_curl to dynamically generate callcenter.conf to FreeSWITCH. On Tue, Apr 7, 2015 at 6:14 AM, Ali Jibran <ali.jibran44@gmail.com> wrote:
I was wondering if there is any way to add queues and agents directly through database and bypass the Callcenter.conf altogether?
I tried using ODBC in the core. So I have a MYSQL database for callcenter. I can add agents dynamically. Can I do that with queues somehow? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Ítalo Rossi
All right thanks :) On Tue, Apr 7, 2015 at 4:27 PM, Ítalo Rossi <italorossib@gmail.com> wrote:
You can't bypass callcenter.conf, mod_callcenter reads queue configuration from xml and creates in memory structs to store the queues, but, you can use mod_xml_curl to dynamically generate callcenter.conf to FreeSWITCH.
On Tue, Apr 7, 2015 at 6:14 AM, Ali Jibran <ali.jibran44@gmail.com> wrote:
I was wondering if there is any way to add queues and agents directly through database and bypass the Callcenter.conf altogether?
I tried using ODBC in the core. So I have a MYSQL database for callcenter. I can add agents dynamically. Can I do that with queues somehow? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Ítalo Rossi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
We have a strange behavior: on freeswitch boot we have queues with old (local db) agents, but after "reload mod_callcenter" all fills as need. mod_xml_curl loads before callcenter. How we can request agents and tiers by one? callcenter makes full request for each agent. Each request - full select from db, on 10k agents and 10k tiers we have 20k requests + 1 req for queues. On 07.04.2015 14:27, Ítalo Rossi wrote:
You can't bypass callcenter.conf, mod_callcenter reads queue configuration from xml and creates in memory structs to store the queues, but, you can use mod_xml_curl to dynamically generate callcenter.conf to FreeSWITCH.
On Tue, Apr 7, 2015 at 6:14 AM, Ali Jibran <ali.jibran44@gmail.com <mailto:ali.jibran44@gmail.com>> wrote:
I was wondering if there is any way to add queues and agents directly through database and bypass the Callcenter.conf altogether?
I tried using ODBC in the core. So I have a MYSQL database for callcenter. I can add agents dynamically. Can I do that with queues somehow? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Ítalo Rossi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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)
-
Ali Jibran
-
Ítalo Rossi
-
Денис