<div dir="ltr"><div>Hi all,</div><div>I advanced in my LAB</div><div>I have this configuration:</div><div>SIP client (tcp:192.168.10.203) -- my NAT router --> (tcp:<a href="http://2.2.2.2:8060">2.2.2.2:8060</a>) opensips  (udp:<a href="http://10.1.15.126:5060">10.1.15.126:5060</a>) --> rest of infra (udp:<a href="http://10.1.15.0/24:5060">10.1.15.0/24:5060</a>)</div><div><br></div><div>When I received the reinvite from "rest of infra" on private interface (10.1.15.126), I could see this log:<br></div><div><br></div><div><span style="font-family:monospace">Dec 16 12:55:27 am-frontal1a-test /usr/local/sbin/opensips[26160]: ERROR:tm:msg_send: send() to <a href="http://192.168.10.203:5060">192.168.10.203:5060</a> for proto tcp/2 failed<br>Dec 16 12:55:27 am-frontal1a-test /usr/local/sbin/opensips[26160]: ERROR:tm:t_forward_nonack: sending request failed<br>Dec 16 12:55:27 am-frontal1a-test /usr/local/sbin/opensips[26160]: retcode = -6</span></div><div><br></div><div>I don't know why OpenSIPS tries to send the Re-invite to client private IP instead client public port and IP (natted).</div><div><br></div><div>Do you have an idea please ?</div><div><br></div><div>thanks<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 12 déc. 2019 à 11:09, Mickael Hubert <<a href="mailto:mickael@winlux.fr">mickael@winlux.fr</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div>I have an issue, opensips doesn't want forward Re-INVITE during UDP to TCP mapping session.</div><div>Customer (NATTED) -- TCP --> (public interface listen tcp:8060) OpenSIPS (private interface listen udp:5060) --> rest of infrastructure (udp:5060)</div><div><br></div><div>I can send a call from customer to OpenSIPS (initial INVITE, 200OK, etc ...).</div><div>But when I received Re-INVITE from UAS (sip session timer), OpenSIPS doesn't forward it to customer.</div><div><br></div><div>You can see the call flow here: <a href="https://photos.app.goo.gl/eUSb5MvBhUfueaoM7" target="_blank">https://photos.app.goo.gl/eUSb5MvBhUfueaoM7</a></div><div>You can see SIP messages and opensips's logs in txt file in attachment<br></div><div><br></div><div>OpenSIPS handles on it's public interface:</div><div>- Topology hiding</div><div>- Nat detection</div><div><br></div><div>Thanks a lot for you help !<br></div><div><br></div></div>
</blockquote></div>