Thanks guys, I&#39;m using 1.5.3<br><br>So I can use<br><br>define(`SHOULD_AUTH&#39;, 1)<br>...<br>if(SHOULD_AUTH)<br>{<br>     route(5); #Auth<br>}<br><br>within my cfg file? <br><br><div class="gmail_quote">On Wed, Mar 10, 2010 at 1:48 PM, Henning Westerholt <span dir="ltr">&lt;<a href="mailto:henning.westerholt@1und1.de">henning.westerholt@1und1.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Wednesday 10 March 2010, Uriel Rozenbaum wrote:<br>
&gt; The question&#39;s simple, is there any pre-processor command to DEFINE<br>
&gt; constants?<br>
<br>
</div>Hi Uriel,<br>
<br>
in kamailio 3.0 there is also the #define directive, which works more or less<br>
like the one in other languages.<br>
<br>
<a href="http://by-miconda.blogspot.com/2009/12/best-of-new-in-kamailio-300-2-%0Adefine.html" target="_blank">http://by-miconda.blogspot.com/2009/12/best-of-new-in-kamailio-300-2-<br>
define.html</a><br>
<br>
Cheers,<br>
<font color="#888888"><br>
Henning<br>
</font></blockquote></div><br>