Thanks. But what is it associated with. When I do a register and determine that it is NAT'd client, I do a setflag. When I do this, what is this setflag associated with? With the location entry of the registered client? And when I us setflag when I receive an INVITE, is it associated with that INVITE pdu?
--- Steve Blair blairs@isc.upenn.edu wrote:
It is a memory resident flag.
Dave wrote:
Hello, I do no understand where the FLAG is set
when
using setflag. Is the SIP packet itself flagged (by inserting a header?) or is it something that is
done
in the database? Thank you for any pointers Dave
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam
protection around
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
--
ISC Network Engineering The University of Pennsylvania 3401 Walnut Street, Suite 221A Philadelphia, PA 19104
voice: 215-573-8396
215-746-8001
fax: 215-898-9348
sip:blairs@net.isc.upenn.edu
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
It's associated with the full transaction. From start of the routing script to finish.
Each time you make a call through the server, it hits the beginning of the route and goes through to the end (perhaps making hops around to secondary route blocks or failure routes or some such). The flag is global for that duration -- throughout all the route blocks and failure routes.
N.
On Thu, 20 Apr 2006 06:54:56 -0700 (PDT), Dave wrote
Thanks. But what is it associated with. When I do a register and determine that it is NAT'd client, I do a setflag. When I do this, what is this setflag associated with? With the location entry of the registered client? And when I us setflag when I receive an INVITE, is it associated with that INVITE pdu?
--- Steve Blair blairs@isc.upenn.edu wrote:
It is a memory resident flag.
Dave wrote:
Hello, I do no understand where the FLAG is set
when
using setflag. Is the SIP packet itself flagged (by inserting a header?) or is it something that is
done
in the database? Thank you for any pointers Dave
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam
protection around
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
--
ISC Network Engineering The University of Pennsylvania 3401 Walnut Street, Suite 221A Philadelphia, PA 19104
voice: 215-573-8396
215-746-8001
fax: 215-898-9348
sip:blairs@net.isc.upenn.edu
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Dave wrote:
Thanks. But what is it associated with. When I do a register and determine that it is NAT'd client, I do a setflag. When I do this, what is this setflag associated with? With the location entry of the registered client? And when I us setflag when I receive an INVITE, is it associated with that INVITE pdu?
during save(), the status of the NAT flag (http://openser.org/docs/modules/1.0.x/registrar.html#AEN103) will be stored in the location table. Later (in another transaction), if you call lookup(), the NAT flag will be restored.
This way you can detect if you have to perform NAT traversal for the callee.
regards klaus
--- Steve Blair blairs@isc.upenn.edu wrote:
It is a memory resident flag.
Dave wrote:
Hello, I do no understand where the FLAG is set
when
using setflag. Is the SIP packet itself flagged (by inserting a header?) or is it something that is
done
in the database? Thank you for any pointers Dave
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam
protection around
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
--
ISC Network Engineering The University of Pennsylvania 3401 Walnut Street, Suite 221A Philadelphia, PA 19104
voice: 215-573-8396
215-746-8001
fax: 215-898-9348
sip:blairs@net.isc.upenn.edu
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers