So, i don't want to break the semantics of the cfg file, that's why i want a drop in replacement.
Also carrierroute is a peculiar beast, the cfg file and the db configuration (including db text) aren't equivalent feature wise and merging them will be quite difficult (mutually exclusive options). I will have a look over the cfg_parser but again the grammar that we use is very simple and straightforward to use. M. On Oct 21, 2013 6:27 AM, "Daniel-Constantin Mierla" <[email protected]> wrote: > For reference, there is an ini-like config parser in core, see > cfg_parser.h -- it is used by tls module, afaik. > > Cheers, > Daniel > > On 10/21/13 4:14 AM, Ovidiu Sas wrote: > >> I had a discussion with Henning about this a while ago and he insisted >> on keeping the libconfuse (more exactly the libconfuse style text >> config), don't remember exactly the details. >> I even raised this issue on the openser tracker: >> http://sourceforge.net/p/**openser/feature-requests/145/<http://sourceforge.net/p/openser/feature-requests/145/> >> >> It would be nice to bring this module into the standard package. >> >> Regards, >> Ovidiu Sas >> >> >> On Sun, Oct 20, 2013 at 6:36 PM, Peter Dunkley >> <peter.dunkley@crocodilertc.**net <[email protected]>> >> wrote: >> >>> Is this something that could be done for 4.1.0? Would it count as a new >>> feature, or simply a "fix" to make the module available on a wider range >>> of >>> platforms? >>> >>> Regards, >>> >>> Peter >>> >>> >>> On 20 October 2013 23:31, Ovidiu Sas <[email protected]> wrote: >>> >>>> Why bother writing a parser for the file when there is db_text? >>>> This will make the module simpler and easier to maintain. >>>> >>>> Regards, >>>> Ovidiu Sas >>>> >>>> On Sun, Oct 20, 2013 at 4:51 PM, Marius Zbihlei <[email protected]> >>>> wrote: >>>> >>>>> Hi all, >>>>> >>>>> This has been in the back of my head from some time now. Libconfuse is >>>>> a >>>>> small project not distributed with major distros and unmaintained for >>>>> 3.5 >>>>> years now. As it is only used for reading of a simple cfg file, I want >>>>> to >>>>> write a simple parser that does the job(I do not want external deps ... >>>>> see >>>>> below why) >>>>> >>>>> Benefits: we can now pack carrierroute with the common used modules (as >>>>> it >>>>> will not have any external dependencies) and also will remove a lot of >>>>> problems seen on the list regarding linkage of libconfuse. >>>>> >>>>> Any thoughts? >>>>> >>>>> Marius >>>>> >>>>> ______________________________**_________________ >>>>> sr-dev mailing list >>>>> [email protected] >>>>> http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**dev<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev> >>>>> >>>>> >>>> >>>> -- >>>> VoIP Embedded, Inc. >>>> http://www.voipembedded.com >>>> >>>> ______________________________**_________________ >>>> sr-dev mailing list >>>> [email protected] >>>> http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**dev<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev> >>>> >>> >>> >>> >>> -- >>> Peter Dunkley >>> Technical Director >>> Crocodile RCS Ltd >>> >>> ______________________________**_________________ >>> sr-dev mailing list >>> [email protected] >>> http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**dev<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev> >>> >>> >> >> > -- > Daniel-Constantin Mierla - http://www.asipto.com > http://twitter.com/#!/miconda - > http://www.linkedin.com/in/**miconda<http://www.linkedin.com/in/miconda> > Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013 > - more details about Kamailio trainings at http://www.asipto.com - > > > ______________________________**_________________ > sr-dev mailing list > [email protected] > http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**dev<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev> >
_______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
