Sorry, to clarify here, I didn't including the IPs of the routers between the proxies and the UACs. Both UACs are behind NAT. So the issue really is how to check if a registered customer is behind NAT to put that in the routing logic. It's easy on the from side, but I don't see on the to side how to test.<br>
<br>-dg<br>
<br><br><div class="gmail_quote">On Thu, Dec 24, 2009 at 12:17 PM, Daniel Goepp <span dir="ltr"><<a href="mailto:dan@goepp.net">dan@goepp.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm going to look the complete fool here for my lack of understanding how OpenSIPS would handle this via it's route branching, but I am just banging my head on this one. Here is the problem:<br><br>For simplification I'm using the first octet of the IP to identify the system, and the connect line of the SDP for both INVITE and OK<br>
<br>How we have it setup today:<br>OpenSIPS B doesn't see the call as NATd which it isn't between proxies so sends sdp w/204 to UAC B.<br>
UAC A (192) -> INVITE (192) -> OpenSIPS A (204) -> INVITE (204) -> OpenSIPS B (76) -> INVITE (204) -> UAC B (192)<br>
UAC A (192) <- OK (204) <- OpenSIPS A (204) <- OK (192) <- OpenSIPS B (76) <- OK (192) <- UAC B (192)<br>
<br>
What we would like it to do:<br>
Split the handling of NAT, so the sdp on the call leg between proxies
is not touched, but the call leg to the UAC B is rewritten for NAT, and the SDP in the OK back to Proxy A is rewritten.<br>
UAC A (192) -> INVITE (192) -> OpenSIPS A (204) -> INVITE (204) -> OpenSIPS B (76) -> INVITE (76) -> UAC B (192)<br>
UAC A (192) <- OK (204) <- OpenSIPS A (204) <- OK (76) <- OpenSIPS B (76) <- OK (192) <- UAC B (192)<br>
<br>Does this make sense. I'm trying to dig through the archives to see if there is something on this, but I'm not finding much yet.<br><br>Any help is MUCH appreciated....I know, it's Xmas even, and I'm messing around with OpenSIPS...what a life ;)<br>
<font color="#888888">
<br>-dg<br>
</font></blockquote></div><br>