<div dir="ltr">Hello,<div><br></div><div>The problem of kamailio not receiving the packet's is that packet size of 200 response seems to be too large. I removed the SDP from response and it arrives.</div><div><br></div><div>Anyone had a similar problem and knows how it might get solved (accept switching to TCP)</div><div><br></div><div>Kind regards,</div><div>Marko</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-24 10:51 GMT+02:00 Marko Seidenglanz <span dir="ltr"><<a href="mailto:marko.seidenglanz@gmail.com" target="_blank">marko.seidenglanz@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>We are trying to use Kamailio 4.2 with RTPEngine 3.3 behind NAT.</div><div><br></div><div>Somehow SIP responses (200 OK) are not handled by Kamailio.</div><div><br></div><div><br></div><div><br></div><div>The following INVITE is send to the receiving end (WebRTC Client):</div><div><br></div><div><div>INVITE <a href="mailto:sip%3AevQzk4l62MdF3G7U6eudj@whtest3.24dial.com" target="_blank">sip:evQzk4l62MdF3G7U6eudj@whtest3.24dial.com</a> SIP/2.0</div><div>Record-Route: <sip:104.155.11.255:5060;nat=yes;lr=on></div><div>Via: SIP/2.0/UDP 104.155.11.255:5060;branch=z9hG4bK865.9db0c023bec2f314e89ae0f18b78d2f0.0</div><div>Via: SIP/2.0/UDP 10.240.215.73:5060;rport=5060;received=146.148.113.245;branch=z9hG4bK644600e2</div><div>Max-Forwards: 69</div><div>From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=as68f0a26a</div><div>To: <<a href="mailto:sip%3AevQzk4l62MdF3G7U6eudj@whtest3.24dial.com" target="_blank">sip:evQzk4l62MdF3G7U6eudj@whtest3.24dial.com</a>></div><div>Contact: <sip:anonymous@10.240.215.73:5060;alias=146.148.113.245~5060~1></div><div>Call-ID: <a href="http://368f6ec901a3552e3b37a70907634f4f@10.240.215.73:5060" target="_blank">368f6ec901a3552e3b37a70907634f4f@10.240.215.73:5060</a></div><div>CSeq: 102 INVITE</div><div>User-Agent: Asterisk PBX 12.5.0</div><div>Date: Fri, 24 Oct 2014 08:38:09 GMT</div><div>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</div><div>Supported: replaces, timer</div><div>Content-Type: application/sdp</div><div>Content-Length: 738</div><div>P-hint: outbound</div></div><div>.......</div><div><br></div><div><br></div><div>The client response looks like this:</div><div><br></div><div><div>SIP/2.0 200 OK</div><div>Via: SIP/2.0/UDP 104.155.11.255:5060;branch=z9hG4bK865.9db0c023bec2f314e89ae0f18b78d2f0.0;rport=5060;received=104.155.11.255</div><div> , SIP/2.0/UDP 10.240.215.73:5060;rport=5060;received=146.148.113.245;branch=z9hG4bK644600e2</div><div>From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=as68f0a26a</div><div>To:  <<a href="mailto:sip%3AevQzk4l62MdF3G7U6eudj@whtest3.24dial.com" target="_blank">sip:evQzk4l62MdF3G7U6eudj@whtest3.24dial.com</a>>;tag=E2VMB39U5NYHCXLZREFGQV2DAXPCZXNQ6J6P</div><div>Contact:  <<a href="mailto:sip%3AevQzk4l62MdF3G7U6eudj@whtest3.24dial.com" target="_blank">sip:evQzk4l62MdF3G7U6eudj@whtest3.24dial.com</a>>;tag=E2VMB39U5NYHCXLZREFGQV2DAXPCZXNQ6J6P</div><div>Call-ID: <a href="http://368f6ec901a3552e3b37a70907634f4f@10.240.215.73:5060" target="_blank">368f6ec901a3552e3b37a70907634f4f@10.240.215.73:5060</a></div><div>CSeq: 102 INVITE</div><div>Record-Route: <sip:104.155.11.255:5060;nat=yes;lr=on></div><div>Content-Type: application/sdp</div><div>Content-Length: 938</div></div><div>.......</div><div><br></div><div><br></div><div><br></div><div>I have a xlog call as the first statement in kamailio routing script. I can see the request, which get's handled correctly but the response does not appear in kamailio log, though it arrives at the machine.</div><div><br></div><div>I am totally helpless, what might be wrong. If we use kamailio on a public accessable machine everything works as expected.</div><div><br></div><div><br></div><div>Maybe anyone might have had similiar problems using kamailio behind NAT.</div><div><br></div><div><br></div><div>Kind regards,</div><div>Marko</div></div>
</blockquote></div><br></div>