<div dir="ltr">Yeah changing pass crossed my mind too...:-). I was about to do that but i luckily found this command <span style="color:rgb(0,0,0)">changecom(`/*', `*/'). This changes comments from "#" to C type comments (For m4 parser). It solved my problem.</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 5, 2016 at 10:20 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hi John,<br>
<br>
either dig into M4 secrets , either simply change your password to
avoid the hash char :)<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
<div>On 05.05.2016 18:20, John Nash wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">I am trying to generate .cfg file with the help of
m4. I have following line in my opensips.cfg.m4
<div>DB_USER:DB_PASS@DB_IP/DB_NAME<br>
</div>
<div><br>
</div>
<div>In defines.m4 I have corresponding values. </div>
<div><br>
</div>
<div>The issue is my DB_PASS contains "#" as one of the
character and because of that any word after DB_PASS is not
being replaced (I guess m4 ignores words after #)</div>
<div><br>
</div>
<div>Any way out? </div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>