Hi!
I do have a setup where I call setflag(1) and save("location") afterwards as part of each REGISTER. I expect the flag to show up in the location table as flags column. For whatever reason this doesn't work (I do see the username, callid, ... though).
Any hints?
Thanks, Hendrik
Hi Hendrik,
The flags from location table are not the same as the flags from script. UsrLoc module saves only the NAT flag (but on a different position).
Best regards, Marian
Hendrik Scholz wrote:
Hi!
I do have a setup where I call setflag(1) and save("location") afterwards as part of each REGISTER. I expect the flag to show up in the location table as flags column. For whatever reason this doesn't work (I do see the username, callid, ... though).
Any hints?
Thanks, Hendrik
I was expecting to find the same entry in the flags table...now I know better, but here is my problem.
My first if statement is
if (client_nat_test("3")) { log(1, "NAT detected\n"); fix_contact(); force_rport(); setflag(6); # flag 2 indicates that incoming request is from NATed client };
I am know it is returning true because the log shows the "NAT detected" line, however the isflagset(6) tests later do not return true, so the mediaproxy does not get started. I had it working but I broke something along the way.
Any clue?
Thanks, Doug
On Tue, January 25, 2005 11:20 am, Hendrik Scholz said:
Hi!
I do have a setup where I call setflag(1) and save("location") afterwards as part of each REGISTER. I expect the flag to show up in the location table as flags column. For whatever reason this doesn't work (I do see the username, callid, ... though).
Any hints?
Thanks, Hendrik
-- freenet Cityline GmbH, Hamburger Chaussee 2-4, 24114 Kiel, Germany Phone: +49 (0)431 9020552, Fax: +49 (0)431 9020559 Internet: http://www.freenet.de, eMail: hendrik.scholz@freenet-ag.de
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Did you set the"nat_flag" attribute to 6...? something like:
modparam("registrar","nat_flag", 6)
--- Doug Eubanks admin@dougware.net wrote:
I was expecting to find the same entry in the flags table...now I know better, but here is my problem.
My first if statement is
if (client_nat_test("3")) { log(1, "NAT detected\n"); fix_contact(); force_rport(); setflag(6); # flag 2 indicates that incoming
request is from NATed client };
I am know it is returning true because the log shows the "NAT detected" line, however the isflagset(6) tests later do not return true, so the mediaproxy does not get started. I had it working but I broke something along the way.
Any clue?
Thanks, Doug
On Tue, January 25, 2005 11:20 am, Hendrik Scholz said:
Hi!
I do have a setup where I call setflag(1) and
save("location")
afterwards as part of each REGISTER. I expect the
flag to show up in the location table as flags
column. For whatever reason this doesn't work (I
do see the username, callid,
... though).
Any hints?
Thanks, Hendrik
-- freenet Cityline GmbH, Hamburger Chaussee 2-4,
24114 Kiel, Germany Phone: +49 (0)431 9020552, Fax:
+49 (0)431 9020559 Internet: http://www.freenet.de, eMail:
hendrik.scholz@freenet-ag.de
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail