Hello,

I have already created a pull request for this.

https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/553/overview


On 12 October 2015 at 19:45, Michael Jerris <mike@jerris.com> wrote:
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.

> On Oct 11, 2015, at 5:47 AM, Tomas Boros <tomas.boros92@gmail.com> wrote:
>
> Hello fs developers
>
> I am working on a feature for mod_callcenter, which will enable creation of queues via fs_cli.
> 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.
>
> I am new to the code, so I need some help:
>
> 1. I found, that number of arguments for fs_cli is limited to 6. Is it possible to override this limit?
>
> 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.
>
> 3. Do you think this is simply a correct approach of creating queues, do this make sense :) ?
>
> Thank you,
> Thomas Boros


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org