[sr-dev] alias_contact()/handle_alias() ready for testing
Juha Heinanen
jh at tutpro.com
Mon Nov 9 11:38:19 CET 2009
Klaus Darilion writes:
> ok. depends in your NAT-traversal approach. In my pragmatic approach I
> do NAT traversal anyway for all local users, thus it would work for me.
>
> If you have a more advanced NAT traversal approach, probably you need a
> second bflag which will is activated either by NAT or TCP.
klaus,
i don't use mediaproxy if is not needed. the example implementation
already takes care of what you suggest:
route [REGISTER_REQUESTS] {
...
if (isflagset(FROM_NATED) || (proto == TCP)) {
fix_nated_register();
if (isflagset(FROM_NATED)) {
setbflag("TO_NATED");
};
};
save("location");
-- juha
More information about the sr-dev
mailing list