<p dir="ltr">So, i don't want to break the semantics of the cfg file, that's why i want a drop in replacement. </p>
<p dir="ltr">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). </p>

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