This patch adds simple flow routing support to opensips via the rr module. This flow routing is one approach to handling NAT'd clients, and is an alternative to re-writing contact headers. This first patch is a relatively simple implementation designed to avoid changing the core of opensips; as such, it has several limitations.
Patch is intended to be entirely backwards-compatible: nothing should change if you don't enable flow routing via new module parameter. The flow-routing feature is experimental and not well tested. Feedback appreciated.
See attached rr-flow-howto.txt and rr-flow-why.txt for more information.