Hello,
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 Wed, Mar 10, 2010 at 1:48 PM, Henning Westerholt <henning.westerholt@1und1.de> wrote:
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
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users