callcenter_config agent / tiers reload
Hi all, In my continuing quest to get some basic ring-all call queuing up and running, I've abandoned mod_fifo and started looking at mod_callcenter which easily does everything I need. The stumbling block I've had is about dynamic configuration reloading. Our freeswitch instances are configured to use xml_mod_curl to retrieve configs, as all our configuration is kept in a third-party system. In the CLI, I am able to call callcenter_config queue reload <name> which works as intended, but this will not reload the agents or tiers. Having tried both callcenter_config agent reload <agent> and callcenter_config tiers reload <queue> <agent>, I get an -ERR no reply from the console each time. I've looked through mod_callcenter.c and can quite clearly see in code that these should be both working, code example can be found here https://fisheye.freeswitch.org/changelog/freeswitch/?cs=9ecbb54 Is this a known issue? I can see JIRA issue on this matter at https://jira.freeswitch.org/browse/FS-5850 but it seems to indicate this was all complete towards the end of last year, which is why it's puzzling me that those commands are not working. Regards, Alvaro
Alvara, I wrote the patch in https://jira.freeswitch.org/browse/FS-5850 to allow dynamic reload. You may be using wrong syntax i just tested and both these commands worked for me (i verified xml_curl lookup worked by watching my web access log) callcenter_config agent reload [agent_name] callcenter_config tier reload [tier] Thanks On Fri, Jun 13, 2014 at 2:33 AM, Alvaro Mari-Thompson <alvaro@voicebooth.com
wrote:
Hi all,
In my continuing quest to get some basic ring-all call queuing up and running, I’ve abandoned mod_fifo and started looking at mod_callcenter which easily does everything I need.
The stumbling block I’ve had is about dynamic configuration reloading. Our freeswitch instances are configured to use xml_mod_curl to retrieve configs, as all our configuration is kept in a third-party system.
In the CLI, I am able to call callcenter_config queue reload <name> which works as intended, but this will not reload the agents or tiers. Having tried both callcenter_config agent reload <agent> and callcenter_config tiers reload <queue> <agent>, I get an –ERR no reply from the console each time. I’ve looked through mod_callcenter.c and can quite clearly see in code that these should be both working, code example can be found here https://fisheye.freeswitch.org/changelog/freeswitch/?cs=9ecbb54
Is this a known issue? I can see JIRA issue on this matter at https://jira.freeswitch.org/browse/FS-5850 but it seems to indicate this was all complete towards the end of last year, which is why it’s puzzling me that those commands are not working.
Regards,
Alvaro
_________________________________________________________________________ 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
We’re running build FreeSWITCH Version 1.2.17+git~20131230T193020Z~52377f0f65~32bit (git 52377f0 2013-12-30 19:30:20Z 32bit) which is dated post that fix, is there any possibility it didn’t make it into that? We’re about to update to a later 1.2 patch to see if it’ll make a difference. Regards, Alvaro From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Vik Killa Sent: 13 June 2014 18:57 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] callcenter_config agent / tiers reload Alvara, I wrote the patch in https://jira.freeswitch.org/browse/FS-5850 to allow dynamic reload. You may be using wrong syntax i just tested and both these commands worked for me (i verified xml_curl lookup worked by watching my web access log) callcenter_config agent reload [agent_name] callcenter_config tier reload [tier] Thanks On Fri, Jun 13, 2014 at 2:33 AM, Alvaro Mari-Thompson <alvaro@voicebooth.com <mailto:alvaro@voicebooth.com> > wrote: Hi all, In my continuing quest to get some basic ring-all call queuing up and running, I’ve abandoned mod_fifo and started looking at mod_callcenter which easily does everything I need. The stumbling block I’ve had is about dynamic configuration reloading. Our freeswitch instances are configured to use xml_mod_curl to retrieve configs, as all our configuration is kept in a third-party system. In the CLI, I am able to call callcenter_config queue reload <name> which works as intended, but this will not reload the agents or tiers. Having tried both callcenter_config agent reload <agent> and callcenter_config tiers reload <queue> <agent>, I get an –ERR no reply from the console each time. I’ve looked through mod_callcenter.c and can quite clearly see in code that these should be both working, code example can be found here https://fisheye.freeswitch.org/changelog/freeswitch/?cs=9ecbb54 Is this a known issue? I can see JIRA issue on this matter at https://jira.freeswitch.org/browse/FS-5850 but it seems to indicate this was all complete towards the end of last year, which is why it’s puzzling me that those commands are not working. Regards, Alvaro _________________________________________________________________________ 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
Alvaro, Check the source code for the version you are running for the changes in https://fisheye.freeswitch.org/changelog/freeswitch/?cs=9ecbb54 Thanks On Fri, Jun 13, 2014 at 2:06 PM, Alvaro Mari-Thompson <alvaro@voicebooth.com
wrote:
We’re running build FreeSWITCH Version 1.2.17+git~20131230T193020Z~52377f0f65~32bit (git 52377f0 2013-12-30 19:30:20Z 32bit) which is dated post that fix, is there any possibility it didn’t make it into that?
We’re about to update to a later 1.2 patch to see if it’ll make a difference.
Regards,
Alvaro
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Vik Killa *Sent:* 13 June 2014 18:57 *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] callcenter_config agent / tiers reload
Alvara,
I wrote the patch in https://jira.freeswitch.org/browse/FS-5850 to allow dynamic reload.
You may be using wrong syntax
i just tested and both these commands worked for me (i verified xml_curl lookup worked by watching my web access log)
callcenter_config agent reload [agent_name]
callcenter_config tier reload [tier]
Thanks
On Fri, Jun 13, 2014 at 2:33 AM, Alvaro Mari-Thompson < alvaro@voicebooth.com> wrote:
Hi all,
In my continuing quest to get some basic ring-all call queuing up and running, I’ve abandoned mod_fifo and started looking at mod_callcenter which easily does everything I need.
The stumbling block I’ve had is about dynamic configuration reloading. Our freeswitch instances are configured to use xml_mod_curl to retrieve configs, as all our configuration is kept in a third-party system.
In the CLI, I am able to call callcenter_config queue reload <name> which works as intended, but this will not reload the agents or tiers. Having tried both callcenter_config agent reload <agent> and callcenter_config tiers reload <queue> <agent>, I get an –ERR no reply from the console each time. I’ve looked through mod_callcenter.c and can quite clearly see in code that these should be both working, code example can be found here https://fisheye.freeswitch.org/changelog/freeswitch/?cs=9ecbb54
Is this a known issue? I can see JIRA issue on this matter at https://jira.freeswitch.org/browse/FS-5850 but it seems to indicate this was all complete towards the end of last year, which is why it’s puzzling me that those commands are not working.
Regards,
Alvaro
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Hi Vik, We’ve updated to version FreeSWITCH Version 1.2.24+git~20140613T004754Z~d298f8688a~32bit (git d298f86 2014-06-13 00:47:54Z 32bit) which is the most stable 1.2 build there, but still have the same issue, queue reloading works, but tier and agent reloading do not: freeswitch@internal> callcenter_config tier reload 2000@vps1.voicebooth.com -ERR no reply freeswitch@internal> callcenter_config agent reload 2000@vps1.voicebooth.com -ERR no reply freeswitch@internal> callcenter_config queue reload 2000@vps1.voicebooth.com +OK 2014-06-14 16:10:11.596385 [DEBUG] mod_callcenter.c:459 Destroying Profile 2000@vps1.voicebooth.com 014-06-14 16:10:12.676386 [INFO] mod_callcenter.c:706 Added queue 2000@vps1.voicebooth.com Is there some configuration issue we’re missing here? Alvaro From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Vik Killa Sent: 13 June 2014 19:29 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] callcenter_config agent / tiers reload Alvaro, Check the source code for the version you are running for the changes in https://fisheye.freeswitch.org/changelog/freeswitch/?cs=9ecbb54 Thanks On Fri, Jun 13, 2014 at 2:06 PM, Alvaro Mari-Thompson <alvaro@voicebooth.com <mailto:alvaro@voicebooth.com> > wrote: We’re running build FreeSWITCH Version 1.2.17+git~20131230T193020Z~52377f0f65~32bit (git 52377f0 2013-12-30 19:30:20Z 32bit) which is dated post that fix, is there any possibility it didn’t make it into that? We’re about to update to a later 1.2 patch to see if it’ll make a difference. Regards, Alvaro From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> ] On Behalf Of Vik Killa Sent: 13 June 2014 18:57 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] callcenter_config agent / tiers reload Alvara, I wrote the patch in https://jira.freeswitch.org/browse/FS-5850 to allow dynamic reload. You may be using wrong syntax i just tested and both these commands worked for me (i verified xml_curl lookup worked by watching my web access log) callcenter_config agent reload [agent_name] callcenter_config tier reload [tier] Thanks On Fri, Jun 13, 2014 at 2:33 AM, Alvaro Mari-Thompson <alvaro@voicebooth.com <mailto:alvaro@voicebooth.com> > wrote: Hi all, In my continuing quest to get some basic ring-all call queuing up and running, I’ve abandoned mod_fifo and started looking at mod_callcenter which easily does everything I need. The stumbling block I’ve had is about dynamic configuration reloading. Our freeswitch instances are configured to use xml_mod_curl to retrieve configs, as all our configuration is kept in a third-party system. In the CLI, I am able to call callcenter_config queue reload <name> which works as intended, but this will not reload the agents or tiers. Having tried both callcenter_config agent reload <agent> and callcenter_config tiers reload <queue> <agent>, I get an –ERR no reply from the console each time. I’ve looked through mod_callcenter.c and can quite clearly see in code that these should be both working, code example can be found here https://fisheye.freeswitch.org/changelog/freeswitch/?cs=9ecbb54 Is this a known issue? I can see JIRA issue on this matter at https://jira.freeswitch.org/browse/FS-5850 but it seems to indicate this was all complete towards the end of last year, which is why it’s puzzling me that those commands are not working. Regards, Alvaro _________________________________________________________________________ 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 _________________________________________________________________________ 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
Mystery solved, that patch never made any of the 1.2 releases. Regards, Alvaro From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Vik Killa Sent: 13 June 2014 19:29 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] callcenter_config agent / tiers reload Alvaro, Check the source code for the version you are running for the changes in https://fisheye.freeswitch.org/changelog/freeswitch/?cs=9ecbb54 Thanks On Fri, Jun 13, 2014 at 2:06 PM, Alvaro Mari-Thompson <alvaro@voicebooth.com <mailto:alvaro@voicebooth.com> > wrote: We’re running build FreeSWITCH Version 1.2.17+git~20131230T193020Z~52377f0f65~32bit (git 52377f0 2013-12-30 19:30:20Z 32bit) which is dated post that fix, is there any possibility it didn’t make it into that? We’re about to update to a later 1.2 patch to see if it’ll make a difference. Regards, Alvaro From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> ] On Behalf Of Vik Killa Sent: 13 June 2014 18:57 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] callcenter_config agent / tiers reload Alvara, I wrote the patch in https://jira.freeswitch.org/browse/FS-5850 to allow dynamic reload. You may be using wrong syntax i just tested and both these commands worked for me (i verified xml_curl lookup worked by watching my web access log) callcenter_config agent reload [agent_name] callcenter_config tier reload [tier] Thanks On Fri, Jun 13, 2014 at 2:33 AM, Alvaro Mari-Thompson <alvaro@voicebooth.com <mailto:alvaro@voicebooth.com> > wrote: Hi all, In my continuing quest to get some basic ring-all call queuing up and running, I’ve abandoned mod_fifo and started looking at mod_callcenter which easily does everything I need. The stumbling block I’ve had is about dynamic configuration reloading. Our freeswitch instances are configured to use xml_mod_curl to retrieve configs, as all our configuration is kept in a third-party system. In the CLI, I am able to call callcenter_config queue reload <name> which works as intended, but this will not reload the agents or tiers. Having tried both callcenter_config agent reload <agent> and callcenter_config tiers reload <queue> <agent>, I get an –ERR no reply from the console each time. I’ve looked through mod_callcenter.c and can quite clearly see in code that these should be both working, code example can be found here https://fisheye.freeswitch.org/changelog/freeswitch/?cs=9ecbb54 Is this a known issue? I can see JIRA issue on this matter at https://jira.freeswitch.org/browse/FS-5850 but it seems to indicate this was all complete towards the end of last year, which is why it’s puzzling me that those commands are not working. Regards, Alvaro _________________________________________________________________________ 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 _________________________________________________________________________ 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
Vik, We’ve been doing some testing on 1.4 with the reload functions for queues, tiers and agents, and have noticed that in the xml_curl request, when reloading a queue, you get two very useful parameters in the request: Event-Calling-Function=load_queue CC-Queue=<queuename> These however are not sent for tier and agent reload requests. Having those two parameters allow us to narrow down the information we return back to freeswitch as we can tell which queue it’s for. Is there any possibility of adding it as a todo item for mod_callcenter? Regards, Alvaro From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Vik Killa Sent: 13 June 2014 19:29 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] callcenter_config agent / tiers reload Alvaro, Check the source code for the version you are running for the changes in https://fisheye.freeswitch.org/changelog/freeswitch/?cs=9ecbb54 Thanks On Fri, Jun 13, 2014 at 2:06 PM, Alvaro Mari-Thompson <alvaro@voicebooth.com <mailto:alvaro@voicebooth.com> > wrote: We’re running build FreeSWITCH Version 1.2.17+git~20131230T193020Z~52377f0f65~32bit (git 52377f0 2013-12-30 19:30:20Z 32bit) which is dated post that fix, is there any possibility it didn’t make it into that? We’re about to update to a later 1.2 patch to see if it’ll make a difference. Regards, Alvaro From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> ] On Behalf Of Vik Killa Sent: 13 June 2014 18:57 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] callcenter_config agent / tiers reload Alvara, I wrote the patch in https://jira.freeswitch.org/browse/FS-5850 to allow dynamic reload. You may be using wrong syntax i just tested and both these commands worked for me (i verified xml_curl lookup worked by watching my web access log) callcenter_config agent reload [agent_name] callcenter_config tier reload [tier] Thanks On Fri, Jun 13, 2014 at 2:33 AM, Alvaro Mari-Thompson <alvaro@voicebooth.com <mailto:alvaro@voicebooth.com> > wrote: Hi all, In my continuing quest to get some basic ring-all call queuing up and running, I’ve abandoned mod_fifo and started looking at mod_callcenter which easily does everything I need. The stumbling block I’ve had is about dynamic configuration reloading. Our freeswitch instances are configured to use xml_mod_curl to retrieve configs, as all our configuration is kept in a third-party system. In the CLI, I am able to call callcenter_config queue reload <name> which works as intended, but this will not reload the agents or tiers. Having tried both callcenter_config agent reload <agent> and callcenter_config tiers reload <queue> <agent>, I get an –ERR no reply from the console each time. I’ve looked through mod_callcenter.c and can quite clearly see in code that these should be both working, code example can be found here https://fisheye.freeswitch.org/changelog/freeswitch/?cs=9ecbb54 Is this a known issue? I can see JIRA issue on this matter at https://jira.freeswitch.org/browse/FS-5850 but it seems to indicate this was all complete towards the end of last year, which is why it’s puzzling me that those commands are not working. Regards, Alvaro _________________________________________________________________________ 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 _________________________________________________________________________ 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
participants (2)
-
Alvaro Mari-Thompson
-
Vik Killa