Hello,

On 30.10.2009 10:22 Uhr, Juha Heinanen wrote:
i have twinkle registered from behind nat and when i check in location
table my nat flag

modparam("usrloc", "nat_bflag", 1)

is set, i.e. flag column of twinkle contact in location table has value
2.

but when i check after lookup():

        lookup("location");
        switch ($rc) {
        case 1:
                if (isbflagset(1)) {
put the parameter between double quotes:

isbflagset("1")

- let me know if works now.

Cheers,
Daniel

                xlog("L_INFO", "Branch Flag 1 is set\n");
                };

nothing gets printed to syslog.  i have not changed any of this config
code since k.

is this a compatibility issue or a bug?

-- juha

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


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