On 30.10.2009 10:51 Uhr, Juha Heinanen wrote:
Juha Heinanen writes:

 > 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.

i also tested with quotes

                setbflag("1");

and the result it the same, i.e., cflags col value stays as 0.

perhaps this has something to do with major hassle that i'm experiencing
with anything related to branches.
I am going to test right now, I do not see how these could be related since you do this part in main route and is basically only usrloc module at this point.

Cheers,
Daniel

--
Daniel-Constantin Mierla
* Kamailio SIP Masterclass, Nov 9-13, 2009, Berlin
* http://www.asipto.com/index.php/sip-router-masterclass/


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to