[sr-dev] looks like usrloc flags don't work either

Juha Heinanen jh at tutpro.com
Fri Oct 30 10:46:55 CET 2009


Daniel-Constantin Mierla writes:

 > it is cflags -- per contact flags.
 > http://kamailio.org/docs/db-tables/kamailio-db-1.5.x.html#AEN5835

fine, but then there is something wrong in save function, because it
does not set cflags:

	if (isflagset(9)) {
		fix_nated_register();
		xlog("L_INFO", "Setting bflag 1\n");
		setbflag(1);
	};

	if (allow_register("permissions")) {
		save("location");

i get to syslog

Oct 30 11:43:22 localhost /usr/sbin/sip-proxy[15251]: INFO: Setting bflag 1 

but still cflags is 0.

-- juha



More information about the sr-dev mailing list