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


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

Reply via email to