Hi Juha,
currently only 3 flags are used in user location - NATTED, IN_MEM,
SIP_PING - and we have 32 available. So we can use the less 16 bits for
internal flags and have the upper 16 available for custom purposes.
The question is how to manipulate these flags from the script: to have
something like set_reg_flag(x) (x=0..15) before save() and
get_reg_flag() after lookup(). ?
Any other suggestions?
regards,
bogdan
Juha Heinanen wrote:
Klaus Darilion writes:
> what about AVPs per contact (instead of user AVPs)?
at present i don't have need for AVPs per contact. also, storing them
would require changes in location table, which would mean a much bigger
project than adding a few flags. if we have these general purpose
usrloc_flags, we would not anymore need nat_flag.
-- juha
_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel