<div dir="ltr">Arhhh, I see the problem now in the BYE message send to <span style="font-size:13px">188.166.3.25.<br></span><div><span style="font-size:13px">188.166.3.25 will the send it back to </span><span style="font-size:13px">188.226.200.111</span><div><br></div><div><div style="font-size:13px">Route: <sip:188.166.3.25;lr;nat=yes>.</div><div style="font-size:13px">Route: <sip:188.226.200.111;lr;nat=yes>.</div></div><div style="font-size:13px"><br></div><div style="font-size:13px">Actually 188.226.200.111 is an upstream kamailio test server but it dosen't remove "Route: <sip:188.226.200.111;lr;nat=yes>" (route to itself).</div><div style="font-size:13px">How can I tell it remove exactly that route field?</div><div style="font-size:13px"><br></div><div style="font-size:13px">Chers,</div><div style="font-size:13px">Martin</div><div style="font-size:13px"><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Med venlig hilsen<br>Martin Schiøtz</div></div>
<br><div class="gmail_quote">On Fri, Apr 24, 2015 at 12:01 AM, Martin Schiøtz <span dir="ltr"><<a href="mailto:malinux@gmail.com" target="_blank">malinux@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I did try <span style="font-size:13px">rtpengine_manage()</span> but rtpengine still saves 10.0.0.100 in redis. I did also try without <span style="font-size:13px">asymmetric with no luck.</span><div><span style="font-size:13px"><br></span></div><div>I changed flags in my <span style="font-size:13px">rtpengine_answer()</span> and <span style="font-size:13px">rtpengine_offer() </span>to "replace-session-connection replace-origin" that saved the public ip correctly and forwarded SDP correctly. The call is now established </div><div><br></div><div>Now I have problem when the remote user B-end hangs up. Why would kamailio 188.166.3.25 just send the BYE message back to 188.226.200.111 instead of sending it to 80.71.132.X A-end behind NAT?</div><div>(the last 4 packeges in the dump)</div><div><br></div><div>The problem must be aroung t_relay() ?</div><div><br></div><div>Cheers,</div><div>Martin</div><div><br></div><div>------</div><div><span class=""><div>route[RELAY] {</div><div>#!ifdef WITH_NAT</div><div>        if (check_route_param("nat=yes")) {</div><div>                setbflag(FLB_NATB);</div><div>        }</div><div>        if (isflagset(FLT_NATS) || isbflagset(FLB_NATB)) {</div><div>                xlog("L_INFO", "MS: RELAY NAT RTPPROXY $rm from $fu:$sp) to $ru\n");</div><div>                route(RTPPROXY);</div><div>        }</div><div>#!endif</div><div><br></div><div>        #if (!isflagset(FLT_NATS) && !isbflagset(FLB_NATB) && is_method("INVITE")) {</div><div>        #       xlog("L_INFO", "MS: RELAY ALWAYS RTPPROXY $rm from $fu:$sp) to $ru\n");</div><div>        #       route(RTPPROXY);</div><div>        #}</div><div><br></div><div>        #rtpengine_manage();</div><div><br></div><div>        /* example how to enable some additional event routes */</div><div>        if (is_method("INVITE")) {</div><div>                #t_on_branch("BRANCH_ONE");</div><div>                t_on_reply("REPLY_ONE");</div><div>                t_on_failure("FAIL_ONE");</div><div>        }</div><div><br></div><div>        if (!t_relay()) {</div></span><div>                xlog("L_INFO", "MS: RELAY !t_relay() $rm from $fu:$sp) to $ru\n");</div><div>                sl_reply_error();</div><div>        }</div><div>        xlog("L_INFO", "MS: RELAY exit $rm from $fu:$sp) to $ru\n");</div><div>        exit;</div><div>}</div></div><div>------<br></div><div><br></div><div><br></div><div>------</div><div><div>U 80.71.132.X:31934 -> <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a></div><div>INVITE <a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a> SIP/2.0.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 2 INVITE.</div><div>From: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>To: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>.</div><div>Max-Forwards: 70.</div><div>Contact: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <sip:<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>@10.0.0.100:5060;transport=udp;registering_acc=188_166_3_25>.</div><div>User-Agent: Jitsi2.8.5426Mac OS X.</div><div>Content-Type: application/sdp.</div><div>Via: SIP/2.0/UDP 10.0.0.100:5060;branch=z9hG4bK-393535-db2bbc818477010e12d836bb407d9d84.</div><div>Proxy-Authorization: Digest username="<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>",realm="188.166.3.25",nonce="VTlkW1U5Yy9YrrUTtVeUzvw+xFmEGaYs",uri="<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>",response="ccc55d6c635dcb4d6d1b94b670c89d9d".</div><div>Content-Length: 327.</div><div>.</div><span class=""><div>v=0.</div><div>o=<a href="http://20111101-jitsi.org" target="_blank">20111101-jitsi.org</a> 0 0 IN IP4 10.0.0.100.</div><div>s=-.</div><div>c=IN IP4 10.0.0.100.</div><div>t=0 0.</div></span><div>m=audio 5097 RTP/AVP 8 0 101.</div><div>a=rtpmap:8 PCMA/8000.</div><span class=""><div>a=rtpmap:0 PCMU/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level.</div><div>a=extmap:2 urn:ietf:params:rtp-hdrext:ssrc-audio-level.</div><div>a=rtcp-xr:voip-metrics.</div><div><br></div></span><div>#</div><div>U <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a> -> 80.71.132.X:31934</div><div>SIP/2.0 100 trying -- your call is important to us.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 2 INVITE.</div><div>From: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>To: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>.</div><div>Via: SIP/2.0/UDP 10.0.0.100:5060;branch=z9hG4bK-393535-db2bbc818477010e12d836bb407d9d84;rport=31934;received=80.71.132.X.</div><div>Server: kamailio (4.2.4 (x86_64/linux)).</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a> -> <a href="http://188.226.200.111:5060" target="_blank">188.226.200.111:5060</a></div><div>INVITE <a href="mailto:sip%3A4526666600@trunk.worldconnect.dk" target="_blank">sip:4526666600@trunk.worldconnect.dk</a> SIP/2.0.</div><div>Record-Route: <sip:188.166.3.25;lr=on;nat=yes>.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 2 INVITE.</div><div>From: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>To: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>.</div><div>Max-Forwards: 69.</div><div>Contact: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <sip:<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>@80.71.132.X:31934;transport=udp;registering_acc=188_166_3_25>.</div><div>User-Agent: Jitsi2.8.5426Mac OS X.</div><div>Content-Type: application/sdp.</div><div>Via: SIP/2.0/UDP 188.166.3.25;branch=z9hG4bKa816.083b127267ff147c8a09c9ae30fcb874.0.</div><div>Via: SIP/2.0/UDP 10.0.0.100:5060;rport=31934;received=80.71.132.X;branch=z9hG4bK-393535-db2bbc818477010e12d836bb407d9d84.</div><div>Content-Length: 246.</div><div>.</div><div>v=0.</div><div>o=<a href="http://20111101-jitsi.org" target="_blank">20111101-jitsi.org</a> 0 0 IN IP4 188.166.3.25.</div><div>s=-.</div><div>c=IN IP4 188.166.3.25.</div><div>t=0 0.</div><div>m=audio 13432 RTP/AVP 8 0 101.</div><div>a=rtpmap:8 PCMA/8000.</div><span class=""><div>a=rtpmap:0 PCMU/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=rtcp-xr:voip-metrics.</div><div>a=sendrecv.</div></span><div>a=rtcp:13433.</div><div><br></div><div>#</div><div>U <a href="http://188.226.200.111:5060" target="_blank">188.226.200.111:5060</a> -> <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a></div><div>SIP/2.0 100 trying -- your call is important to us.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 2 INVITE.</div><div>From: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>To: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>.</div><div>Via: SIP/2.0/UDP 188.166.3.25;branch=z9hG4bKa816.083b127267ff147c8a09c9ae30fcb874.0;rport=5060.</div><div>Via: SIP/2.0/UDP 10.0.0.100:5060;rport=31934;received=80.71.132.X;branch=z9hG4bK-393535-db2bbc818477010e12d836bb407d9d84.</div><div>Server: kamailio (4.2.4 (x86_64/linux)).</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://188.226.200.111:5060" target="_blank">188.226.200.111:5060</a> -> <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a></div><div>SIP/2.0 183 Session progress.</div><div>Via: SIP/2.0/UDP 188.166.3.25;rport=5060;branch=z9hG4bKa816.083b127267ff147c8a09c9ae30fcb874.0.</div><div>Via: SIP/2.0/UDP 10.0.0.100:5060;rport=31934;received=80.71.132.X;branch=z9hG4bK-393535-db2bbc818477010e12d836bb407d9d84.</div><div>From: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>To: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>;tag=20313ac55080273a8c463.</div><div>Contact: <a href="http://sip:4526666600@77.72.169.128:5060" target="_blank">sip:4526666600@77.72.169.128:5060</a>.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 2 INVITE.</div><div>Server: (Very nice Sip Registrar/Proxy Server).</div><div>Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE.</div><div>Record-route: <sip:188.226.200.111;lr;nat=yes>,<sip:188.166.3.25;lr;nat=yes>.</div><div>Content-Type: application/sdp.</div><div>Content-Length: 386.</div><div>.</div><div>v=0.</div><div>o=CARRIER 1429824303 1429824303 IN IP4 188.226.200.111.</div><div>s=SIP Call.</div><div>c=IN IP4 188.226.200.111.</div><div>t=0 0.</div><div>m=audio 12864 RTP/AVP 8 101.</div><div>a=rtpmap:8 PCMA/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=ptime:20.</div><div>a=sendrecv.</div><div>a=rtcp:12865.</div><div>a=candidate:sNvfjlaEd7h5acsi 1 UDP 2130706431 188.226.200.111 12864 typ host.</div><div>a=candidate:sNvfjlaEd7h5acsi 2 UDP 2130706430 188.226.200.111 12865 typ host.</div><div><br></div><div>#</div><div>U <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a> -> 80.71.132.X:31934</div><div>SIP/2.0 183 Session progress.</div><div>Via: SIP/2.0/UDP 10.0.0.100:5060;rport=31934;received=80.71.132.X;branch=z9hG4bK-393535-db2bbc818477010e12d836bb407d9d84.</div><div>From: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>To: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>;tag=20313ac55080273a8c463.</div><div>Contact: <a href="http://sip:4526666600@77.72.169.128:5060" target="_blank">sip:4526666600@77.72.169.128:5060</a>.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 2 INVITE.</div><div>Server: (Very nice Sip Registrar/Proxy Server).</div><div>Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE.</div><div>Record-route: <sip:188.226.200.111;lr;nat=yes>,<sip:188.166.3.25;lr;nat=yes>.</div><div>Content-Type: application/sdp.</div><div>Content-Length: 224.</div><div>.</div><div>v=0.</div><div>o=CARRIER 1429824303 1429824303 IN IP4 188.166.3.25.</div><div>s=SIP Call.</div><div>c=IN IP4 188.166.3.25.</div><div>t=0 0.</div><div>m=audio 13454 RTP/AVP 8 101.</div><div>a=rtpmap:8 PCMA/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=ptime:20.</div><div>a=sendrecv.</div><div>a=rtcp:13455.</div><div><br></div><div>#</div><div>U <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a> -> 80.71.132.X:31934</div><div>....</div><div>#</div><div>U <a href="http://188.226.200.111:5060" target="_blank">188.226.200.111:5060</a> -> <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a></div><div>SIP/2.0 200 Ok.</div><div>Via: SIP/2.0/UDP 188.166.3.25;rport=5060;branch=z9hG4bKa816.083b127267ff147c8a09c9ae30fcb874.0.</div><div>Via: SIP/2.0/UDP 10.0.0.100:5060;rport=31934;received=80.71.132.X;branch=z9hG4bK-393535-db2bbc818477010e12d836bb407d9d84.</div><div>From: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>To: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>;tag=20313ac55080273a8c463.</div><div>Contact: <a href="http://sip:4526666600@77.72.169.128:5060" target="_blank">sip:4526666600@77.72.169.128:5060</a>.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 2 INVITE.</div><div>Server: (Very nice Sip Registrar/Proxy Server).</div><div>Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE.</div><div>Record-route: <sip:188.226.200.111;lr;nat=yes>,<sip:188.166.3.25;lr;nat=yes>.</div><div>Content-Type: application/sdp.</div><div>Content-Length: 386.</div><div>.</div><div>v=0.</div><div>o=CARRIER 1429824314 1429824314 IN IP4 188.226.200.111.</div><div>s=SIP Call.</div><div>c=IN IP4 188.226.200.111.</div><div>t=0 0.</div><div>m=audio 12864 RTP/AVP 8 101.</div><div>a=rtpmap:8 PCMA/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=ptime:20.</div><div>a=sendrecv.</div><div>a=rtcp:12865.</div><div>a=candidate:sNvfjlaEd7h5acsi 1 UDP 2130706431 188.226.200.111 12864 typ host.</div><div>a=candidate:sNvfjlaEd7h5acsi 2 UDP 2130706430 188.226.200.111 12865 typ host.</div><div><br></div><div>#</div><div>U <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a> -> 80.71.132.X:31934</div><div>SIP/2.0 200 Ok.</div><div>Via: SIP/2.0/UDP 10.0.0.100:5060;rport=31934;received=80.71.132.X;branch=z9hG4bK-393535-db2bbc818477010e12d836bb407d9d84.</div><div>From: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>To: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>;tag=20313ac55080273a8c463.</div><div>Contact: <a href="http://sip:4526666600@77.72.169.128:5060" target="_blank">sip:4526666600@77.72.169.128:5060</a>.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 2 INVITE.</div><div>Server: (Very nice Sip Registrar/Proxy Server).</div><div>Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE.</div><div>Record-route: <sip:188.226.200.111;lr;nat=yes>,<sip:188.166.3.25;lr;nat=yes>.</div><div>Content-Type: application/sdp.</div><div>Content-Length: 224.</div><div>.</div><div>v=0.</div><div>o=CARRIER 1429824314 1429824314 IN IP4 188.166.3.25.</div><div>s=SIP Call.</div><div>c=IN IP4 188.166.3.25.</div><div>t=0 0.</div><div>m=audio 13454 RTP/AVP 8 101.</div><div>a=rtpmap:8 PCMA/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=ptime:20.</div><div>a=sendrecv.</div><div>a=rtcp:13455.</div><div><br></div><div>#</div><div>U 80.71.132.X:31934 -> <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a></div><div>ACK <a href="http://sip:4526666600@77.72.169.128:5060" target="_blank">sip:4526666600@77.72.169.128:5060</a> SIP/2.0.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 2 ACK.</div><div>Via: SIP/2.0/UDP 10.0.0.100:5060;branch=z9hG4bK-393535-25734851e5c67dbd09ec9cf4d795b81e.</div><div>From: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>To: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>;tag=20313ac55080273a8c463.</div><div>Max-Forwards: 70.</div><div>Route: <sip:188.166.3.25;lr;nat=yes>,<sip:188.226.200.111;lr;nat=yes>.</div><div>Contact: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <sip:20111101@10.0.0.100:5060;transport=udp;registering_acc=188_166_3_25>.</div><div>User-Agent: Jitsi2.8.5426Mac OS X.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a> -> <a href="http://188.226.200.111:5060" target="_blank">188.226.200.111:5060</a></div><div>ACK <a href="http://sip:4526666600@77.72.169.128:5060" target="_blank">sip:4526666600@77.72.169.128:5060</a> SIP/2.0.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 2 ACK.</div><div>Via: SIP/2.0/UDP 188.166.3.25;branch=z9hG4bKa816.6d3ec17b79aa6b68203112f50caf5b1a.0.</div><div>Via: SIP/2.0/UDP 10.0.0.100:5060;rport=31934;received=80.71.132.X;branch=z9hG4bK-393535-25734851e5c67dbd09ec9cf4d795b81e.</div><div>From: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>To: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>;tag=20313ac55080273a8c463.</div><div>Max-Forwards: 69.</div><div>Route: <sip:188.226.200.111;lr;nat=yes>.</div><div>Contact: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <sip:20111101@80.71.132.X:31934;transport=udp;registering_acc=188_166_3_25>.</div><div>User-Agent: Jitsi2.8.5426Mac OS X.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div><br></div><div>--------->>>  remote user hangs up</div><div><br></div><div><br></div><div>#</div><div>U <a href="http://188.226.200.111:5060" target="_blank">188.226.200.111:5060</a> -> <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a></div><div>BYE sip:<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>@80.71.132.X:31934;transport=udp;registering_acc=188_166_3_25 SIP/2.0.</div><div>Via: SIP/2.0/UDP 188.226.200.111;branch=z9hG4bKd816.412aface6cc6573fb6f2d579443cf1fe.0.</div><div>Via: SIP/2.0/UDP 77.72.169.128:5060;rport=5060;branch=z9hG4bKa816.dae0d2c4c9faf3eb3df105cb8f083cb8.0.</div><div>From: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>;tag=20313ac55080273a8c463.</div><div>To: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>Contact: <a href="http://sip:4526666600@77.72.169.128:5060" target="_blank">sip:4526666600@77.72.169.128:5060</a>.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 1 BYE.</div><div>Server: (Very nice Sip Registrar/Proxy Server).</div><div>Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE.</div><div>Max-Forwards: 69.</div><div>Route: <sip:188.166.3.25;lr;nat=yes>.</div><div>Route: <sip:188.226.200.111;lr;nat=yes>.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a> -> <a href="http://188.226.200.111:5060" target="_blank">188.226.200.111:5060</a></div><div>BYE sip:<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>@80.71.132.X:31934;transport=udp;registering_acc=188_166_3_25 SIP/2.0.</div><div>Via: SIP/2.0/UDP 188.166.3.25;branch=z9hG4bKd816.82ed60f84de90b0b5231c65e64e52394.0.</div><div>Via: SIP/2.0/UDP 188.226.200.111;rport=5060;branch=z9hG4bKd816.412aface6cc6573fb6f2d579443cf1fe.0.</div><div>Via: SIP/2.0/UDP 77.72.169.128:5060;rport=5060;branch=z9hG4bKa816.dae0d2c4c9faf3eb3df105cb8f083cb8.0.</div><div>From: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>;tag=20313ac55080273a8c463.</div><div>To: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>Contact: <a href="http://sip:4526666600@77.72.169.128:5060" target="_blank">sip:4526666600@77.72.169.128:5060</a>.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 1 BYE.</div><div>Server: (Very nice Sip Registrar/Proxy Server).</div><div>Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE.</div><div>Max-Forwards: 68.</div><div>Route: <sip:188.226.200.111;lr;nat=yes>.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://188.226.200.111:5060" target="_blank">188.226.200.111:5060</a> -> <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a></div><div>BYE sip:<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>@80.71.132.X:31934;transport=udp;registering_acc=188_166_3_25 SIP/2.0.</div><div>Via: SIP/2.0/UDP 188.226.200.111;branch=z9hG4bKd816.412aface6cc6573fb6f2d579443cf1fe.0.</div><div>Via: SIP/2.0/UDP 77.72.169.128:5060;rport=5060;branch=z9hG4bKa816.dae0d2c4c9faf3eb3df105cb8f083cb8.0.</div><div>From: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>;tag=20313ac55080273a8c463.</div><div>To: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>Contact: <a href="http://sip:4526666600@77.72.169.128:5060" target="_blank">sip:4526666600@77.72.169.128:5060</a>.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 1 BYE.</div><div>Server: (Very nice Sip Registrar/Proxy Server).</div><div>Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE.</div><div>Max-Forwards: 69.</div><div>Route: <sip:188.166.3.25;lr;nat=yes>.</div><div>Route: <sip:188.226.200.111;lr;nat=yes>.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U <a href="http://188.166.3.25:5060" target="_blank">188.166.3.25:5060</a> -> <a href="http://188.226.200.111:5060" target="_blank">188.226.200.111:5060</a></div><div>BYE sip:<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>@80.71.132.X:31934;transport=udp;registering_acc=188_166_3_25 SIP/2.0.</div><div>Via: SIP/2.0/UDP 188.166.3.25;branch=z9hG4bKd816.82ed60f84de90b0b5231c65e64e52394.0.</div><div>Via: SIP/2.0/UDP 188.226.200.111;rport=5060;branch=z9hG4bKd816.412aface6cc6573fb6f2d579443cf1fe.0.</div><div>Via: SIP/2.0/UDP 77.72.169.128:5060;rport=5060;branch=z9hG4bKa816.dae0d2c4c9faf3eb3df105cb8f083cb8.0.</div><div>From: <<a href="mailto:sip%3A4526666600@188.166.3.25" target="_blank">sip:4526666600@188.166.3.25</a>>;tag=20313ac55080273a8c463.</div><div>To: "<a href="tel:20111101" value="+4520111101" target="_blank">20111101</a>" <<a href="mailto:sip%3A20111101@188.166.3.25" target="_blank">sip:20111101@188.166.3.25</a>>;tag=2d76288c.</div><div>Contact: <a href="http://sip:4526666600@77.72.169.128:5060" target="_blank">sip:4526666600@77.72.169.128:5060</a>.</div><div>Call-ID: f2d3bcbe62094af688e506d641589455@0:0:0:0:0:0:0:0.</div><div>CSeq: 1 BYE.</div><div>Server: (Very nice Sip Registrar/Proxy Server).</div><div>Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE.</div><div>Max-Forwards: 68.</div><div>Route: <sip:188.226.200.111;lr;nat=yes>.</div><div>Content-Length: 0.</div><div>.</div></div><div>------</div><div><div class="h5"><div><br></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Thu, Apr 23, 2015 at 10:12 AM, Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thursday 23 April 2015 01:40:17 Martin Schiøtz wrote:<br>
> I thought that "fix_nated_sdp("2")" would do the job before<br>
> "rtpengine_offer("asymmetric")" but it dosen't have any effect?<br>
<br>
</span>My understanding of the docs is that the asymmetric flag introduces the<br>
problem you are experiencing:<br>
asymmetric - flags that UA from which message is received doesn't support<br>
symmetric RTP. Disables learning of endpoint addresses in the Sipwise<br>
rtpengine proxy.<br>
<br>
Getting rtp_engine to work with the standard kamailio.cfg is to simply add<br>
rtpengine_manage();<br>
at the top of the NATMANAGE route so it will handle all rtp regardless of<br>
source being natted (in your config in the NAT router.<br>
<span><font color="#888888"><br>
--<br>
<br>
Telefoon: 088 0100 700<br>
Sales: <a href="mailto:sales@pocos.nl" target="_blank">sales@pocos.nl</a> | Service: <a href="mailto:servicedesk@pocos.nl" target="_blank">servicedesk@pocos.nl</a><br>
<a href="http://www.pocos.nl/" target="_blank">http://www.pocos.nl/</a> | Croy 9c, 5653 LC Eindhoven | Kamer van Koophandel<br>
17097024<br>
<br>
</font></span></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>