<div dir="ltr">Tomas,<div>You can already dynamically add/remove queues by using mod_xml_curl + callcenter API</div><div>To add a queue on the fly:</div><div>1. update xml (mod_xml_curl)</div><div>2. fs_cli> callcenter_config queue load test-queue</div><div><br></div><div>FS will make a request to your xml-curl server with something like this:</div><div><br></div><div><div> [section] => 'configuration'<br></div><div> [tag_name] => 'configuration'</div><div> [key_name] => 'name'</div><div> [key_value] => 'callcenter.conf'</div></div><div><div> [Event-Calling-Function] => 'load_queue'</div><div> [CC-Queue] => 'test-queue'<br></div></div><div><br></div><div><br></div><div>You can also use the same steps to add/remove agents and tiers.<br></div><div><br></div><div>Thanks,</div><div>Emmanuel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 12, 2015 at 2:39 PM, Tomas Boros <span dir="ltr"><<a href="mailto:tomas.boros92@gmail.com" target="_blank">tomas.boros92@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I have already created a pull request for this.</div><div><br></div><div><a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/553/overview" target="_blank">https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/553/overview</a><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 12 October 2015 at 19:45, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It might require some refactoring of those functions to split the validation from the xml parsing. Italo might have some more comments on a best approach.<br>
<div><div><br>
> On Oct 11, 2015, at 5:47 AM, Tomas Boros <<a href="mailto:tomas.boros92@gmail.com" target="_blank">tomas.boros92@gmail.com</a>> wrote:<br>
><br>
> Hello fs developers<br>
><br>
> I am working on a feature for mod_callcenter, which will enable creation of queues via fs_cli.<br>
> Queues right now can be created via xml or DB backend, but for a clustered environment I think it would be usable to create and destroy queues live.<br>
><br>
> I am new to the code, so I need some help:<br>
><br>
> 1. I found, that number of arguments for fs_cli is limited to 6. Is it possible to override this limit?<br>
><br>
> 2. Do the freeswitch code has builtin variable validators? I found something like queue_set_config in the code, which looks like a it, but it is used in context with function switch_xml_config_parse_event, which loads and validates the data from XML files. I need to validate the values coming from arguments of the function.<br>
><br>
> 3. Do you think this is simply a correct approach of creating queues, do this make sense :) ?<br>
><br>
> Thank you,<br>
> Thomas Boros<br>
<br>
<br>
</div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" rel="noreferrer" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" rel="noreferrer" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>