2008/12/12 Jesus Rodriguez <[email protected]>: >> So, the question is: if NAT detected and such a protocol mismatch is >> detected, should a registrar refuse the registration (as it will be >> anyhow unusable) ? > > > Maybe this could be a configurable policy via modparam for regristrar > module. If the script writer does not want to take care of these > "strange" cases, registrar module can refuse these requests > automatically... but in some cases you may want/need to accept these > requests, so a configurable behavior would be great.
This is already feasible using nat_traversal module. You can check if the request transport matches the transport indicated in Contact header, and just call "keepalive()" in case they match. nat_traversal is much much powerful and flexible than nathelper :) -- Iñaki Baz Castillo <[email protected]> _______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
