[SR-Users] correct way to define flags in Kamailio 3.0.3

Andrew Pogrebennyk andrew.pogrebennyk at portaone.com
Mon Oct 4 11:03:10 CEST 2010


What is the correct way to write flags in Kamailio 3.0.3? I've tried 
both enum-like way: "flags a, b;" and the macro way: "#!define a 1",

but neither has worked. I'm getting a syntax error trying to used 
defined flag, e.g.:
modparam("usrloc", "nat_bflag", FLB_NATB)

In 3.1 though the macro works fine.

-- 
Sincerely,
Andrew Pogrebennyk



More information about the sr-users mailing list