Thanks guys, I'm using 1.5.3
So I can use
define(`SHOULD_AUTH', 1)
...
if(SHOULD_AUTH)
{
route(5); #Auth
}
within my cfg file?
On Wednesday 10 March 2010, Uriel Rozenbaum wrote:Hi Uriel,
> The question's simple, is there any pre-processor command to DEFINE
> constants?
in kamailio 3.0 there is also the #define directive, which works more or less
like the one in other languages.
http://by-miconda.blogspot.com/2009/12/best-of-new-in-kamailio-300-2-
define.html
Cheers,
Henning