<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif">
<div>Hi Daniel:</div>
<div><br>
</div>
<div>The network is:</div>
<ul>
<li>MCU is running in a private network with IP's (10.95.94.142 and 10.95.94.143) and public IP's 195.235.93.166 and 195.235.93.161.</li><li>SIP server and rtpproxy are running in another network: 10.95.94.92, with public IP: 195.235.93.8.</li><li>SIP server, rtpproxy and MCU has visibility between them.</li><li>Clients have not visibility with sip server and MCU, and they try register, invite,….using the public IP: 195.235.93.8 (public IP of rtpproxy)</li><li>When I have not use MCU, only 2 participants, the video and audio is routing OK.</li><li>I can verify using web browser conference in MCU that it is sending RTP traffic (out traffic).</li></ul>
<div>Thank you very much.</div>
<div><br>
</div>
<div>Br,</div>
<div>Marina</div>
<div><br>
</div>
<div>I attach the sip messages of a call with/without MCU:</div>
<div><br>
</div>
<div><b style="background-color:rgb(255,255,0)">WITHOUT MCU:</b></div>
<div>
<div>T 88.30.60.53:49605 -&gt; 10.95.92.94:5070 [AP]</div>
<div>INVITE sip:<a href="mailto:34625721615@yarn.com">34625721615@yarn.com</a>&nbsp;SIP/2.0.</div>
<div>Via: SIP/2.0/TCP 192.168.1.71:49605;rport;branch=z9hG4bKPjnmOelOoYbCla7mCU1ZZwIzdQgdON9n.2.</div>
<div>Max-Forwards: 70.</div>
<div>From: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@yarn.com">34625827802@yarn.com</a>&gt;;tag=m9-qrLO0Itty8c7TEo5fZDLswOd1pAYX.</div>
<div>To: sip:<a href="mailto:34625721615@yarn.com">34625721615@yarn.com</a>.</div>
<div>Contact: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@192.168.1.71">34625827802@192.168.1.71</a>:49604;transport=TCP;ob&gt;;reg-id=1;&#43;sip.instance=&quot;&lt;urn:uuid:00000000-0000-0000-0000-0000a84e595a&gt;&quot;.</div>
<div>Call-ID: bBNsUTKBEuqIPP2MgpotcpSJzYJTqRz9.</div>
<div>CSeq: 3285 INVITE.</div>
<div>Route: &lt;sip:xmpp.reflections.tid.es:5070;transport=TCP;lr&gt;.</div>
<div>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.</div>
<div>Supported: replaces, 100rel, timer, norefersub.</div>
<div>Comm-Logging: on.</div>
<div>GeoPosition: 37.160355 -3.608621.</div>
<div>Comm-Type: videoCall.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length: &nbsp; 521.</div>
<div>.</div>
<div>v=0.</div>
<div>o=- 3558762206 3558762206 IN IP4 192.168.1.71.</div>
<div>s=pjmedia.</div>
<div>c=IN IP4 192.168.1.71.</div>
<div>t=0 0.</div>
<div>a=X-nat:0.</div>
<div>m=audio 40000 RTP/AVP 104 3 0 8 96.</div>
<div>c=IN IP4 192.168.1.71.</div>
<div>a=rtcp:40001 IN IP4 192.168.1.71.</div>
<div>a=sendrecv.</div>
<div>a=rtpmap:104 iLBC/8000.</div>
<div>a=fmtp:104 mode=30.</div>
<div>a=rtpmap:3 GSM/8000.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div>a=rtpmap:8 PCMA/8000.</div>
<div>a=rtpmap:96 telephone-event/8000.</div>
<div>a=fmtp:96 0-15.</div>
<div>m=video 40002 RTP/AVP 96.</div>
<div>c=IN IP4 192.168.1.71.</div>
<div>a=rtcp:40003 IN IP4 192.168.1.71.</div>
<div>a=sendrecv.</div>
<div>a=rtpmap:96 H263-1998/90000.</div>
<div>a=fmtp:96 QCIF=2;MaxBR=1920.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 10.95.92.94:5070 -&gt; 88.30.60.53:49605 [AP]</div>
<div>SIP/2.0 100 trying -- your call is important to us.</div>
<div>Via: SIP/2.0/TCP 192.168.1.71:49605;rport=49605;branch=z9hG4bKPjnmOelOoYbCla7mCU1ZZwIzdQgdON9n.2;received=88.30.60.53.</div>
<div>From: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@yarn.com">34625827802@yarn.com</a>&gt;;tag=m9-qrLO0Itty8c7TEo5fZDLswOd1pAYX.</div>
<div>To: sip:<a href="mailto:34625721615@yarn.com">34625721615@yarn.com</a>.</div>
<div>Call-ID: bBNsUTKBEuqIPP2MgpotcpSJzYJTqRz9.</div>
<div>CSeq: 3285 INVITE.</div>
<div>Server: kamailio (3.2.0 (x86_64/linux)).</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 10.95.92.94:5070 -&gt; 88.30.60.53:49207 [A]</div>
<div>INVITE sip:<a href="mailto:34625721615@192.168.1.68">34625721615@192.168.1.68</a>:49162;transport=TCP;ob SIP/2.0.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr=on&gt;.</div>
<div>Via: SIP/2.0/TCP 195.235.93.8:5070;branch=z9hG4bK7f3e.5b307fb4.0;i=42.</div>
<div>Via: SIP/2.0/TCP 192.168.1.71:49605;received=88.30.60.53;rport=49605;branch=z9hG4bKPjnmOelOoYbCla7mCU1ZZwIzdQgdON9n.2.</div>
<div>Max-Forwards: 69.</div>
<div>From: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@yarn.com">34625827802@yarn.com</a>&gt;;tag=m9-qrLO0Itty8c7TEo5fZDLswOd1pAYX.</div>
<div>To: sip:<a href="mailto:34625721615@yarn.com">34625721615@yarn.com</a>.</div>
<div>Contact: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@88.30.60.53">34625827802@88.30.60.53</a>:49605;transport=TCP;ob&gt;;reg-id=1;&#43;sip.instance=&quot;&lt;urn:uuid:00000000-0000-0000-0000-0000a84e595a&gt;&quot;.</div>
<div>Call-ID: bBNsUTKBEuqIPP2MgpotcpSJzYJTqRz9.</div>
<div>CSeq: 3285 INVITE.</div>
<div>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.</div>
<div>Supported: replaces, 100rel, timer, norefersub.</div>
<div>Comm-Logging: on.</div>
<div>GeoPosition: 37.160355 -3.608621.</div>
<div>Comm-Type: videoCall.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length: &nbsp; 499.</div>
<div>.</div>
<div>v=0.</div>
<div>o=- 3558762206 3558762206 IN IP4 195.235.93.8.</div>
<div>s=pjmedia.</div>
<div>c=IN IP4 192.168.1.71.</div>
<div>t=0 0.</div>
<div>a=X-nat:0.</div>
<div>m=audio 12204 RTP/AVP 104 3 0 8 96.</div>
<div>c=IN IP4 195.235.93.8.</div>
<div>a=rtcp:12205.</div>
<div>a=sendrecv.</div>
<div>a=rtpmap:104 iLBC/8000.</div>
<div>a=fmtp:104 mode=30.</div>
<div>a=rtpmap:3 GSM/8000.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div>a=rtpmap:8 PCMA/8000.</div>
<div>a=rtpmap:96 telephone-event/8000.</div>
<div>a=fmtp:96 0-15.</div>
<div>m=video 13428 RTP/AVP 96.</div>
<div>c=IN IP4 195.235.93.8.</div>
<div>a=rtcp:13429.</div>
<div>a=sen</div>
<div><br>
</div>
<div>T 10.95.92.94:5070 -&gt; 88.30.60.53:49207 [AP]</div>
<div>drecv.</div>
<div>a=rtpmap:96 H263-1998/90000.</div>
<div>a=fmtp:96 QCIF=2;MaxBR=1920.</div>
<div>a=nortpproxy:yes.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 10.95.92.94:5070 -&gt; 88.30.60.53:49207 [A]</div>
<div>INVITE sip:<a href="mailto:34625721615@192.168.1.68">34625721615@192.168.1.68</a>:49162;transport=TCP;ob SIP/2.0.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr=on&gt;.</div>
<div>Via: SIP/2.0/TCP 195.235.93.8:5070;branch=z9hG4bK7f3e.5b307fb4.0;i=42.</div>
<div>Via: SIP/2.0/TCP 192.168.1.71:49605;received=88.30.60.53;rport=49605;branch=z9hG4bKPjnmOelOoYbCla7mCU1ZZwIzdQgdON9n.2.</div>
<div>Max-Forwards: 69.</div>
<div>From: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@yarn.com">34625827802@yarn.com</a>&gt;;tag=m9-qrLO0Itty8c7TEo5fZDLswOd1pAYX.</div>
<div>To: sip:<a href="mailto:34625721615@yarn.com">34625721615@yarn.com</a>.</div>
<div>Contact: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@88.30.60.53">34625827802@88.30.60.53</a>:49605;transport=TCP;ob&gt;;reg-id=1;&#43;sip.instance=&quot;&lt;urn:uuid:00000000-0000-0000-0000-0000a84e595a&gt;&quot;.</div>
<div>Call-ID: bBNsUTKBEuqIPP2MgpotcpSJzYJTqRz9.</div>
<div>CSeq: 3285 INVITE.</div>
<div>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.</div>
<div>Supported: replaces, 100rel, timer, norefersub.</div>
<div>Comm-Logging: on.</div>
<div>GeoPosition: 37.160355 -3.608621.</div>
<div>Comm-Type: videoCall.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length: &nbsp; 499.</div>
<div>.</div>
<div>v=0.</div>
<div>o=- 3558762206 3558762206 IN IP4 195.235.93.8.</div>
<div>s=pjmedia.</div>
<div>c=IN IP4 192.168.1.71.</div>
<div>t=0 0.</div>
<div>a=X-nat:0.</div>
<div>m=audio 12204 RTP/AVP 104 3 0 8 96.</div>
<div>c=IN IP4 195.235.93.8.</div>
<div>a=rtcp:12205.</div>
<div>a=sendrecv.</div>
<div>a=rtpmap:104 iLBC/8000.</div>
<div>a=fmtp:104 mode=30.</div>
<div>a=rtpmap:3 GSM/8000.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div>a=rtpmap:8 PCMA/8000.</div>
<div>a=rtpmap:96 telephone-event/8000.</div>
<div>a=fmtp:96 0-15.</div>
<div>m=video 13428 RTP/AVP 96.</div>
<div>c=IN IP4 195.235.93.8.</div>
<div>a=rtcp:13429.</div>
<div>a=sen</div>
<div><br>
</div>
<div>T 88.30.60.53:49207 -&gt; 10.95.92.94:5070 [AP]</div>
<div>SIP/2.0 100 Trying.</div>
<div>Via: SIP/2.0/TCP 195.235.93.8:5070;received=195.235.93.8;branch=z9hG4bK7f3e.5b307fb4.0;i=42.</div>
<div>Via: SIP/2.0/TCP 192.168.1.71:49605;rport=49605;received=88.30.60.53;branch=z9hG4bKPjnmOelOoYbCla7mCU1ZZwIzdQgdON9n.2.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr&gt;.</div>
<div>Call-ID: bBNsUTKBEuqIPP2MgpotcpSJzYJTqRz9.</div>
<div>From: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@yarn.com">34625827802@yarn.com</a>&gt;;tag=m9-qrLO0Itty8c7TEo5fZDLswOd1pAYX.</div>
<div>To: &lt;sip:<a href="mailto:34625721615@yarn.com">34625721615@yarn.com</a>&gt;.</div>
<div>CSeq: 3285 INVITE.</div>
<div>Content-Length: &nbsp;0.</div>
<div>.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 88.30.60.53:49207 -&gt; 10.95.92.94:5070 [AP]</div>
<div>SIP/2.0 180 Ringing.</div>
<div>Via: SIP/2.0/TCP 195.235.93.8:5070;received=195.235.93.8;branch=z9hG4bK7f3e.5b307fb4.0;i=42.</div>
<div>Via: SIP/2.0/TCP 192.168.1.71:49605;rport=49605;received=88.30.60.53;branch=z9hG4bKPjnmOelOoYbCla7mCU1ZZwIzdQgdON9n.2.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr&gt;.</div>
<div>Call-ID: bBNsUTKBEuqIPP2MgpotcpSJzYJTqRz9.</div>
<div>From: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@yarn.com">34625827802@yarn.com</a>&gt;;tag=m9-qrLO0Itty8c7TEo5fZDLswOd1pAYX.</div>
<div>To: &lt;sip:<a href="mailto:34625721615@yarn.com">34625721615@yarn.com</a>&gt;;tag=MqvoM-k8VyY78sSmvFhTc3hBCviTxJX..</div>
<div>CSeq: 3285 INVITE.</div>
<div>Contact: &quot;iPhone 4S de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625721615@192.168.1.68">34625721615@192.168.1.68</a>:49162;transport=TCP;ob&gt;;reg-id=1;&#43;sip.instance=&quot;&lt;urn:uuid:00000000-0000-0000-0000-0000bcd83dda&gt;&quot;.</div>
<div>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.</div>
<div>Content-Length: &nbsp;0.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>T 10.95.92.94:5070 -&gt; 88.30.60.53:49605 [AP]</div>
<div>SIP/2.0 180 Ringing.</div>
<div>Via: SIP/2.0/TCP 192.168.1.71:49605;rport=49605;received=88.30.60.53;branch=z9hG4bKPjnmOelOoYbCla7mCU1ZZwIzdQgdON9n.2.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr&gt;.</div>
<div>Call-ID: bBNsUTKBEuqIPP2MgpotcpSJzYJTqRz9.</div>
<div>From: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@yarn.com">34625827802@yarn.com</a>&gt;;tag=m9-qrLO0Itty8c7TEo5fZDLswOd1pAYX.</div>
<div>To: &lt;sip:<a href="mailto:34625721615@yarn.com">34625721615@yarn.com</a>&gt;;tag=MqvoM-k8VyY78sSmvFhTc3hBCviTxJX..</div>
<div>CSeq: 3285 INVITE.</div>
<div>Contact: &quot;iPhone 4S de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625721615@88.30.60.53">34625721615@88.30.60.53</a>:49207;transport=TCP;ob;alias=88.30.60.53~49207~2&gt;;reg-id=1;&#43;sip.instance=&quot;&lt;urn:uuid:00000000-0000-0000-0000-0000bcd83dda&gt;&quot;.</div>
<div>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.</div>
<div>Content-Length: &nbsp;0.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 88.30.60.53:49207 -&gt; 10.95.92.94:5070 [AP]</div>
<div>SIP/2.0 200 OK.</div>
<div>Via: SIP/2.0/TCP 195.235.93.8:5070;received=195.235.93.8;branch=z9hG4bK7f3e.5b307fb4.0;i=42.</div>
<div>Via: SIP/2.0/TCP 192.168.1.71:49605;rport=49605;received=88.30.60.53;branch=z9hG4bKPjnmOelOoYbCla7mCU1ZZwIzdQgdON9n.2.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr&gt;.</div>
<div>Call-ID: bBNsUTKBEuqIPP2MgpotcpSJzYJTqRz9.</div>
<div>From: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@yarn.com">34625827802@yarn.com</a>&gt;;tag=m9-qrLO0Itty8c7TEo5fZDLswOd1pAYX.</div>
<div>To: &lt;sip:<a href="mailto:34625721615@yarn.com">34625721615@yarn.com</a>&gt;;tag=MqvoM-k8VyY78sSmvFhTc3hBCviTxJX..</div>
<div>CSeq: 3285 INVITE.</div>
<div>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.</div>
<div>Contact: &quot;iPhone 4S de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625721615@192.168.1.68">34625721615@192.168.1.68</a>:49162;transport=TCP;ob&gt;;reg-id=1;&#43;sip.instance=&quot;&lt;urn:uuid:00000000-0000-0000-0000-0000bcd83dda&gt;&quot;.</div>
<div>Supported: replaces, 100rel, timer, norefersub.</div>
<div>Comm-Logging: off.</div>
<div>GeoPosition: 37.160417 -3.608510.</div>
<div>Comm-Type: call.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length: &nbsp; 342.</div>
<div>.</div>
<div>v=0.</div>
<div>o=- 3558762206 3558762208 IN IP4 192.168.1.68.</div>
<div>s=pjmedia.</div>
<div>c=IN IP4 192.168.1.68.</div>
<div>t=0 0.</div>
<div>a=X-nat:0.</div>
<div>m=audio 40008 RTP/AVP 104 96.</div>
<div>c=IN IP4 192.168.1.68.</div>
<div>a=rtcp:40009 IN IP4 192.168.1.68.</div>
<div>a=sendrecv.</div>
<div>a=rtpmap:104 iLBC/8000.</div>
<div>a=fmtp:104 mode=30.</div>
<div>a=rtpmap:96 telephone-event/8000.</div>
<div>a=fmtp:96 0-15.</div>
<div>m=video 0 RTP/AVP 96.</div>
<div>c=IN IP4 192.168.1.68.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 10.95.92.94:5070 -&gt; 88.30.60.53:49605 [AP]</div>
<div>SIP/2.0 200 OK.</div>
<div>Via: SIP/2.0/TCP 192.168.1.71:49605;rport=49605;received=88.30.60.53;branch=z9hG4bKPjnmOelOoYbCla7mCU1ZZwIzdQgdON9n.2.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr&gt;.</div>
<div>Call-ID: bBNsUTKBEuqIPP2MgpotcpSJzYJTqRz9.</div>
<div>From: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@yarn.com">34625827802@yarn.com</a>&gt;;tag=m9-qrLO0Itty8c7TEo5fZDLswOd1pAYX.</div>
<div>To: &lt;sip:<a href="mailto:34625721615@yarn.com">34625721615@yarn.com</a>&gt;;tag=MqvoM-k8VyY78sSmvFhTc3hBCviTxJX..</div>
<div>CSeq: 3285 INVITE.</div>
<div>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.</div>
<div>Contact: &quot;iPhone 4S de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625721615@88.30.60.53">34625721615@88.30.60.53</a>:49207;transport=TCP;ob;alias=88.30.60.53~49207~2&gt;;reg-id=1;&#43;sip.instance=&quot;&lt;urn:uuid:00000000-0000-0000-0000-0000bcd83dda&gt;&quot;.</div>
<div>Supported: replaces, 100rel, timer, norefersub.</div>
<div>Comm-Logging: off.</div>
<div>GeoPosition: 37.160417 -3.608510.</div>
<div>Comm-Type: call.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length: &nbsp; 340.</div>
<div>.</div>
<div>v=0.</div>
<div>o=- 3558762206 3558762208 IN IP4 195.235.93.8.</div>
<div>s=pjmedia.</div>
<div>c=IN IP4 192.168.1.68.</div>
<div>t=0 0.</div>
<div>a=X-nat:0.</div>
<div>m=audio 13054 RTP/AVP 104 96.</div>
<div>c=IN IP4 195.235.93.8.</div>
<div>a=rtcp:13055.</div>
<div>a=sendrecv.</div>
<div>a=rtpmap:104 iLBC/8000.</div>
<div>a=fmtp:104 mode=30.</div>
<div>a=rtpmap:96 telephone-event/8000.</div>
<div>a=fmtp:96 0-15.</div>
<div>m=video 0 RTP/AVP 96.</div>
<div>c=IN IP4 195.235.93.8.</div>
<div>a=nortpproxy:yes.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 88.30.60.53:49605 -&gt; 10.95.92.94:5070 [AP]</div>
<div>ACK sip:<a href="mailto:34625721615@88.30.60.53">34625721615@88.30.60.53</a>:49207;transport=TCP;ob;alias=88.30.60.53~49207~2 SIP/2.0.</div>
<div>Via: SIP/2.0/TCP 192.168.1.71:49605;rport;branch=z9hG4bKPj1wkmjQjqE5tBkJDPhdE0pxH1P8Ourw8a.</div>
<div>Max-Forwards: 70.</div>
<div>From: &quot;iPhone de Marina Serrano Montes&quot; &lt;sip:<a href="mailto:34625827802@yarn.com">34625827802@yarn.com</a>&gt;;tag=m9-qrLO0Itty8c7TEo5fZDLswOd1pAYX.</div>
<div>To: sip:<a href="mailto:34625721615@yarn.com">34625721615@yarn.com</a>;tag=MqvoM-k8VyY78sSmvFhTc3hBCviTxJX..</div>
<div>Call-ID: bBNsUTKBEuqIPP2MgpotcpSJzYJTqRz9.</div>
<div>CSeq: 3285 ACK.</div>
<div>Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr&gt;.</div>
<div>Content-Length: &nbsp;0.</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><b style="background-color:rgb(255,255,0)">WITH MCU</b></div>
<div>
<div>T 88.30.60.53:49288 -&gt; 10.95.92.94:5070 [AP]</div>
<div>INVITE sip:831234@yarn.com SIP/2.0.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49288;rport;branch=z9hG4bKPj6p9mKJtxQYThQTWoy5kT8XiZndLpe0qo.</div>
<div>Max-Forwards: 70.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot; &lt;sip:34625721615@yarn.com&gt;;tag=OsVGQ2ankjVlh6um7sY6XT85Xw8iZ6Jr.</div>
<div>To: sip:831234@yarn.com.</div>
<div>Contact: &quot;iPhone 4S de Marina Serrano Montes&quot; &lt;sip:34625721615@192.168.1.68:49162;transport=TCP;ob&gt;;reg-id=1;&#43;sip.instance=&quot;&lt;urn:uuid:00000000-0000-0000-0000-0000bcd83dda&gt;&quot;.</div>
<div>Call-ID: W9-vrfxNkjewLu7.ZV.CDlE9UVzLexuI.</div>
<div>CSeq: 28670 INVITE.</div>
<div>Route: &lt;sip:xmpp.reflections.tid.es:5070;transport=TCP;lr&gt;.</div>
<div>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.</div>
<div>Supported: replaces, 100rel, timer, norefersub.</div>
<div>Comm-Logging: on.</div>
<div>GeoPosition: 37.160370 -3.608576.</div>
<div>Comm-Type: videoCall.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length: &nbsp; 521.</div>
<div>.</div>
<div>v=0.</div>
<div>o=- 3558771315 3558771315 IN IP4 192.168.1.68.</div>
<div>s=pjmedia.</div>
<div>c=IN IP4 192.168.1.68.</div>
<div>t=0 0.</div>
<div>a=X-nat:0.</div>
<div>m=audio 40022 RTP/AVP 104 3 0 8 96.</div>
<div>c=IN IP4 192.168.1.68.</div>
<div>a=rtcp:40023 IN IP4 192.168.1.68.</div>
<div>a=sendrecv.</div>
<div>a=rtpmap:104 iLBC/8000.</div>
<div>a=fmtp:104 mode=30.</div>
<div>a=rtpmap:3 GSM/8000.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div>a=rtpmap:8 PCMA/8000.</div>
<div>a=rtpmap:96 telephone-event/8000.</div>
<div>a=fmtp:96 0-15.</div>
<div>m=video 40024 RTP/AVP 96.</div>
<div>c=IN IP4 192.168.1.68.</div>
<div>a=rtcp:40025 IN IP4 192.168.1.68.</div>
<div>a=sendrecv.</div>
<div>a=rtpmap:96 H263-1998/90000.</div>
<div>a=fmtp:96 QCIF=2;MaxBR=1920.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 10.95.92.94:5070 -&gt; 88.30.60.53:49288 [AP]</div>
<div>SIP/2.0 100 trying -- your call is important to us.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49288;rport=49288;branch=z9hG4bKPj6p9mKJtxQYThQTWoy5kT8XiZndLpe0qo;received=88.30.60.53.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot; &lt;sip:34625721615@yarn.com&gt;;tag=OsVGQ2ankjVlh6um7sY6XT85Xw8iZ6Jr.</div>
<div>To: sip:831234@yarn.com.</div>
<div>Call-ID: W9-vrfxNkjewLu7.ZV.CDlE9UVzLexuI.</div>
<div>CSeq: 28670 INVITE.</div>
<div>Server: kamailio (3.2.0 (x86_64/linux)).</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div><br>
</div>
<div><br>
</div>
<div>U 10.95.92.94:5070 -&gt; 10.95.94.142:5070</div>
<div>INVITE sip:831234@10.95.94.142:5070 SIP/2.0.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr=on&gt;.</div>
<div>Via: SIP/2.0/UDP 195.235.93.8:5070;branch=z9hG4bKad5f.9a00a88.0;i=63.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49288;received=88.30.60.53;rport=49288;branch=z9hG4bKPj6p9mKJtxQYThQTWoy5kT8XiZndLpe0qo.</div>
<div>Max-Forwards: 69.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot; &lt;sip:34625721615@yarn.com&gt;;tag=OsVGQ2ankjVlh6um7sY6XT85Xw8iZ6Jr.</div>
<div>To: sip:831234@yarn.com.</div>
<div>Contact: &quot;iPhone 4S de Marina Serrano Montes&quot; &lt;sip:34625721615@88.30.60.53:49288;transport=TCP;ob&gt;;reg-id=1;&#43;sip.instance=&quot;&lt;urn:uuid:00000000-0000-0000-0000-0000bcd83dda&gt;&quot;.</div>
<div>Call-ID: W9-vrfxNkjewLu7.ZV.CDlE9UVzLexuI.</div>
<div>CSeq: 28670 INVITE.</div>
<div>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.</div>
<div>Supported: replaces, 100rel, timer, norefersub.</div>
<div>Comm-Logging: on.</div>
<div>GeoPosition: 37.160370 -3.608576.</div>
<div>Comm-Type: videoCall.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length: &nbsp; 521.</div>
<div>.</div>
<div>v=0.</div>
<div>o=- 3558771315 3558771315 IN IP4 192.168.1.68.</div>
<div>s=pjmedia.</div>
<div>c=IN IP4 192.168.1.68.</div>
<div>t=0 0.</div>
<div>a=X-nat:0.</div>
<div>m=audio 40022 RTP/AVP 104 3 0 8 96.</div>
<div>c=IN IP4 192.168.1.68.</div>
<div>a=rtcp:40023 IN IP4 192.168.1.68.</div>
<div>a=sendrecv.</div>
<div>a=rtpmap:104 iLBC/8000.</div>
<div>a=fmtp:104 mode=30.</div>
<div>a=rtpmap:3 GSM/8000.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div>a=rtpmap:8 PCMA/8000.</div>
<div>a=rtpmap:96 telephone-event/8000.</div>
<div>a=fmtp:96 0-15.</div>
<div>m=video 40024 RTP/AVP 96.</div>
<div>c=IN IP4 192.168.1.68.</div>
<div>a=rtcp:40025 IN IP4 192.168.1.68.</div>
<div>a=sendrecv.</div>
<div>a=rtpmap:96 H263-1998/90000.</div>
<div>a=fmtp:96 QCIF=2;MaxBR=1920.</div>
<div><br>
</div>
<div><br>
</div>
<div>U 10.95.94.142:5070 -&gt; 10.95.92.94:5070</div>
<div>SIP/2.0 100 Trying.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot;&lt;sip:34625721615@yarn.com&gt;;tag=OsVGQ2ankjVlh6um7sY6XT85Xw8iZ6Jr.</div>
<div>To: &lt;sip:831234@yarn.com&gt;.</div>
<div>Call-ID: W9-vrfxNkjewLu7.ZV.CDlE9UVzLexuI.</div>
<div>CSeq: 28670 INVITE.</div>
<div>Via: SIP/2.0/UDP 195.235.93.8:5070;received=10.95.92.94;branch=z9hG4bKad5f.9a00a88.0;i=63.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49288;received=88.30.60.53;rport=49288;branch=z9hG4bKPj6p9mKJtxQYThQTWoy5kT8XiZndLpe0qo.</div>
<div>Supported: replaces.</div>
<div>Contact: &lt;sip:831234@10.95.94.142:5070&gt;.</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div><br>
</div>
<div><br>
</div>
<div>U 10.95.94.142:5070 -&gt; 10.95.92.94:5070</div>
<div>SIP/2.0 180 Ringing.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot;&lt;sip:34625721615@yarn.com&gt;;tag=OsVGQ2ankjVlh6um7sY6XT85Xw8iZ6Jr.</div>
<div>To: &lt;sip:831234@yarn.com&gt;;tag=96e0830-a5f5e8e-13ce-45026-11b83-3ae1923-11b83.</div>
<div>Call-ID: W9-vrfxNkjewLu7.ZV.CDlE9UVzLexuI.</div>
<div>CSeq: 28670 INVITE.</div>
<div>Via: SIP/2.0/UDP 195.235.93.8:5070;received=10.95.92.94;branch=z9hG4bKad5f.9a00a88.0;i=63.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49288;received=88.30.60.53;rport=49288;branch=z9hG4bKPj6p9mKJtxQYThQTWoy5kT8XiZndLpe0qo.</div>
<div>Supported: replaces.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr=on&gt;.</div>
<div>Contact: &lt;sip:831234@10.95.94.142:5070&gt;.</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 10.95.92.94:5070 -&gt; 88.30.60.53:49288 [AP]</div>
<div>SIP/2.0 180 Ringing.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot;&lt;sip:34625721615@yarn.com&gt;;tag=OsVGQ2ankjVlh6um7sY6XT85Xw8iZ6Jr.</div>
<div>To: &lt;sip:831234@yarn.com&gt;;tag=96e0830-a5f5e8e-13ce-45026-11b83-3ae1923-11b83.</div>
<div>Call-ID: W9-vrfxNkjewLu7.ZV.CDlE9UVzLexuI.</div>
<div>CSeq: 28670 INVITE.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49288;received=88.30.60.53;rport=49288;branch=z9hG4bKPj6p9mKJtxQYThQTWoy5kT8XiZndLpe0qo.</div>
<div>Supported: replaces.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr=on&gt;.</div>
<div>Contact: &lt;sip:831234@10.95.94.142:5070&gt;.</div>
<div>Content-Length: 0.</div>
<div>.</div>
<div><br>
</div>
<div><br>
</div>
<div>U 10.95.94.142:5070 -&gt; 10.95.92.94:5070</div>
<div>SIP/2.0 200 OK.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot;&lt;sip:34625721615@yarn.com&gt;;tag=OsVGQ2ankjVlh6um7sY6XT85Xw8iZ6Jr.</div>
<div>To: &lt;sip:831234@yarn.com&gt;;tag=96e0830-a5f5e8e-13ce-45026-11b83-3ae1923-11b83.</div>
<div>Call-ID: W9-vrfxNkjewLu7.ZV.CDlE9UVzLexuI.</div>
<div>CSeq: 28670 INVITE.</div>
<div>User-Agent: OTT VIDEO MCU Ver 5.</div>
<div>Supported: replaces.</div>
<div>Via: SIP/2.0/UDP 195.235.93.8:5070;received=10.95.92.94;branch=z9hG4bKad5f.9a00a88.0;i=63.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49288;received=88.30.60.53;rport=49288;branch=z9hG4bKPj6p9mKJtxQYThQTWoy5kT8XiZndLpe0qo.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr=on&gt;.</div>
<div>Contact: &lt;sip:831234@10.95.94.142:5070&gt;.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length: 347.</div>
<div>.</div>
<div>v=0.</div>
<div>o=RV-MCU 72580140 72580140 IN IP4 10.95.94.142.</div>
<div>s=RV MCU Session.</div>
<div>b=CT:128.</div>
<div>t=0 0.</div>
<div>m=audio 6448 RTP/AVP 0 101.</div>
<div>c=IN IP4 10.95.94.142.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div>a=rtpmap:101 telephone-event/8000.</div>
<div>a=fmtp:101 0-16.</div>
<div>a=sendrecv.</div>
<div>m=video 10064 RTP/AVP 96.</div>
<div>c=IN IP4 10.95.94.143.</div>
<div>b=TIAS:64000.</div>
<div>a=rtpmap:96 H263-1998/90000.</div>
<div>a=fmtp:96 QCIF=2.</div>
<div>a=sendrecv.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 10.95.92.94:5070 -&gt; 88.30.60.53:49288 [AP]</div>
<div>SIP/2.0 200 OK.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot;&lt;sip:34625721615@yarn.com&gt;;tag=OsVGQ2ankjVlh6um7sY6XT85Xw8iZ6Jr.</div>
<div>To: &lt;sip:831234@yarn.com&gt;;tag=96e0830-a5f5e8e-13ce-45026-11b83-3ae1923-11b83.</div>
<div>Call-ID: W9-vrfxNkjewLu7.ZV.CDlE9UVzLexuI.</div>
<div>CSeq: 28670 INVITE.</div>
<div>User-Agent: OTT VIDEO MCU Ver 5.</div>
<div>Supported: replaces.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49288;received=88.30.60.53;rport=49288;branch=z9hG4bKPj6p9mKJtxQYThQTWoy5kT8XiZndLpe0qo.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr=on&gt;.</div>
<div>Contact: &lt;sip:831234@10.95.94.142:5070&gt;.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length: 363.</div>
<div>.</div>
<div>v=0.</div>
<div>o=RV-MCU 72580140 72580140 IN IP4 10.95.92.94.</div>
<div>s=RV MCU Session.</div>
<div>b=CT:128.</div>
<div>t=0 0.</div>
<div>m=audio 10154 RTP/AVP 0 101.</div>
<div>c=IN IP4 10.95.92.94.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div>a=rtpmap:101 telephone-event/8000.</div>
<div>a=fmtp:101 0-16.</div>
<div>a=sendrecv.</div>
<div>m=video 16952 RTP/AVP 96.</div>
<div>c=IN IP4 10.95.92.94.</div>
<div>b=TIAS:64000.</div>
<div>a=rtpmap:96 H263-1998/90000.</div>
<div>a=fmtp:96 QCIF=2.</div>
<div>a=sendrecv.</div>
<div>a=nortpproxy:yes.</div>
</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Daniel-Constantin Mierla &lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>&quot;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&quot; &lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>martes 9 de octubre de 2012 13:11<br>
<span style="font-weight:bold">To: </span>Marina Serrano Montes &lt;<a href="mailto:marinas@tid.es">marinas@tid.es</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List&quot; &lt;<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>&gt;, Vicente Hernando &lt;<a href="mailto:vhernando@systemonenoc.com">vhernando@systemonenoc.com</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [SR-Users] how to use fix_nated_sdp(&quot;2&quot;) with multiple media types<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF">Hello,<br>
<br>
from the trace it seems that mcu is on a private network. Also, rtpproxy seems to be configured to listen on a private address. But then the response is sent to a public address.<br>
<br>
First, is the routing between the two networks configured on the server where kamailio/rtpproxy runs? rtproxy should be on public interface to be able to talk with the clients on the public network.
<br>
<br>
Then, with rtpproxy, each side has to send a packet in order to know where to send the packets. Does MCU send packets? If not you can try to add flag 'r' for messages coming from it.<br>
<br>
If the networks are not interconnected at ip layer, then you should use rtpproxy in bridge mode. That requires more flags to rtpproxy_manage() parameter as well as extra command line parameter for rtpproxy application.<br>
<br>
One example of doing bridging with kamailio and rtpproxy is presented in the tutorial:<br>
- <a class="moz-txt-link-freetext" href="http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6">
http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6</a><br>
<br>
Should give a better view of how to do it, practically you have to listen on a second ipv4 address instead of ipv6.<br>
<br>
For the future, if you give the ngrep, give also the INVITE requests along with the 200ok, in that way we can spot what is wrong with the call better.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 10/9/12 12:57 PM, MARINA SERRANO MONTES wrote:<br>
</div>
<blockquote type="cite">
<div>
<div>Hi Daniel,</div>
<div><br>
</div>
<div>I'm sorry, but the traffic between rtpproxy and MCU and from MCU to rtpproxy is not received.</div>
<div><br>
</div>
<div>I have used &quot;rtpproxy_manage()&quot; in onreply_route[ ]…and I can observe traffic from endpoint to RTPPROXY is sent and received but, from rtpproxy to MCU and from MCU to rtpproxy I cannot receive any traffic.</div>
</div>
<div>Is it possible RTPPROXY don't know where must send traffic to MCU?</div>
<div><br>
</div>
<div>Many thanks.</div>
<div><br>
</div>
<div>Br,</div>
<div>Marina</div>
<div><br>
</div>
<div>I attach the SIP messages:</div>
<div><br>
</div>
<div>
<div>U 10.95.94.142:5070 -&gt; 10.95.92.94:5070</div>
<div>SIP/2.0 200 OK.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot;<a class="moz-txt-link-rfc2396E" href="mailto:sip:34625721615@yarn.com">&lt;sip:34625721615@yarn.com&gt;</a>;tag=fjT80oh1Dk4JR7KfLisjcIKO6o4YDjgI.</div>
<div>To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:831234@yarn.com">&lt;sip:831234@yarn.com&gt;</a>;tag=96d7fa0-a5f5e8e-13ce-45026-fb8d-51adfd08-fb8d.</div>
<div>Call-ID: a9nOyGQ906Farr1Ayrk4vgoJvKXv87Le.</div>
<div>CSeq: 14479 INVITE.</div>
<div>User-Agent: OTT VIDEO MCU Ver 5.</div>
<div>Supported: replaces.</div>
<div>Via: SIP/2.0/UDP 195.235.93.8:5070;received=10.95.92.94;branch=z9hG4bK6525.28425344.0;i=1.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49220;received=88.30.60.53;rport=49220;branch=z9hG4bKPjx56lPnLFFvtElMX6Tw1Yc7pJglWsTHl3.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr=on&gt;.</div>
<div>Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:831234@10.95.94.142:5070">
&lt;sip:831234@10.95.94.142:5070&gt;</a>.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length: 347.</div>
<div>.</div>
<div>v=0.</div>
<div>o=RV-MCU 64398330 64398330 IN IP4 10.95.94.142.</div>
<div>s=RV MCU Session.</div>
<div>b=CT:128.</div>
<div>t=0 0.</div>
<div>m=audio 6448 RTP/AVP 0 101.</div>
<div>c=IN IP4 10.95.94.142.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div>a=rtpmap:101 telephone-event/8000.</div>
<div>a=fmtp:101 0-16.</div>
<div>a=sendrecv.</div>
<div>m=video 10046 RTP/AVP 96.</div>
<div>c=IN IP4 10.95.94.143.</div>
<div>b=TIAS:64000.</div>
<div>a=rtpmap:96 H263-1998/90000.</div>
<div>a=fmtp:96 QCIF=2.</div>
<div>a=sendrecv.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 10.95.92.94:5070 -&gt; 88.30.60.53:49220 [AP]</div>
<div>SIP/2.0 200 OK.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot;<a class="moz-txt-link-rfc2396E" href="mailto:sip:34625721615@yarn.com">&lt;sip:34625721615@yarn.com&gt;</a>;tag=fjT80oh1Dk4JR7KfLisjcIKO6o4YDjgI.</div>
<div>To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:831234@yarn.com">&lt;sip:831234@yarn.com&gt;</a>;tag=96d7fa0-a5f5e8e-13ce-45026-fb8d-51adfd08-fb8d.</div>
<div>Call-ID: a9nOyGQ906Farr1Ayrk4vgoJvKXv87Le.</div>
<div>CSeq: 14479 INVITE.</div>
<div>User-Agent: OTT VIDEO MCU Ver 5.</div>
<div>Supported: replaces.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49220;received=88.30.60.53;rport=49220;branch=z9hG4bKPjx56lPnLFFvtElMX6Tw1Yc7pJglWsTHl3.</div>
<div>Record-Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr=on&gt;.</div>
<div>Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:831234@10.95.94.142:5070">
&lt;sip:831234@10.95.94.142:5070&gt;</a>.</div>
<div>Content-Type: application/sdp.</div>
<div>Content-Length: 363.</div>
<div>.</div>
<div>v=0.</div>
<div>o=RV-MCU 64398330 64398330 IN IP4 10.95.92.94.</div>
<div>s=RV MCU Session.</div>
<div>b=CT:128.</div>
<div>t=0 0.</div>
<div>m=audio 15460 RTP/AVP 0 101.</div>
<div>c=IN IP4 10.95.92.94.</div>
<div>a=rtpmap:0 PCMU/8000.</div>
<div>a=rtpmap:101 telephone-event/8000.</div>
<div>a=fmtp:101 0-16.</div>
<div>a=sendrecv.</div>
<div>m=video 15018 RTP/AVP 96.</div>
<div>c=IN IP4 10.95.92.94.</div>
<div>b=TIAS:64000.</div>
<div>a=rtpmap:96 H263-1998/90000.</div>
<div>a=fmtp:96 QCIF=2.</div>
<div>a=sendrecv.</div>
<div>a=nortpproxy:yes.</div>
<div><br>
</div>
<div><br>
</div>
<div>T 88.30.60.53:49220 -&gt; 10.95.92.94:5070 [AP]</div>
<div>ACK <a class="moz-txt-link-abbreviated" href="mailto:sip:831234@10.95.94.142:5070">
sip:831234@10.95.94.142:5070</a> SIP/2.0.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49220;rport;branch=z9hG4bKPjFfoWDPVHXuFQpNkwdK8MaC.O81exyyN6.</div>
<div>Max-Forwards: 70.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot; <a class="moz-txt-link-rfc2396E" href="mailto:sip:34625721615@yarn.com">
&lt;sip:34625721615@yarn.com&gt;</a>;tag=fjT80oh1Dk4JR7KfLisjcIKO6o4YDjgI.</div>
<div>To: <a class="moz-txt-link-abbreviated" href="mailto:sip:831234@yarn.com;tag=96d7fa0-a5f5e8e-13ce-45026-fb8d-51adfd08-fb8d">
sip:831234@yarn.com;tag=96d7fa0-a5f5e8e-13ce-45026-fb8d-51adfd08-fb8d</a>.</div>
<div>Call-ID: a9nOyGQ906Farr1Ayrk4vgoJvKXv87Le.</div>
<div>CSeq: 14479 ACK.</div>
<div>Route: &lt;sip:195.235.93.8:5070;transport=TCP;lr&gt;.</div>
<div>Content-Length: &nbsp;0.</div>
<div>.</div>
<div><br>
</div>
<div><br>
</div>
<div>U 10.95.92.94:5070 -&gt; 10.95.94.142:5070</div>
<div>ACK <a class="moz-txt-link-abbreviated" href="mailto:sip:831234@10.95.94.142:5070">
sip:831234@10.95.94.142:5070</a> SIP/2.0.</div>
<div>Via: SIP/2.0/UDP 195.235.93.8:5070;branch=z9hG4bKcydzigwkX;i=1.</div>
<div>Via: SIP/2.0/TCP 192.168.1.68:49220;received=88.30.60.53;rport=49220;branch=z9hG4bKPjFfoWDPVHXuFQpNkwdK8MaC.O81exyyN6.</div>
<div>Max-Forwards: 69.</div>
<div>From: &quot;iPhone 4S de Marina Serrano Montes&quot; <a class="moz-txt-link-rfc2396E" href="mailto:sip:34625721615@yarn.com">
&lt;sip:34625721615@yarn.com&gt;</a>;tag=fjT80oh1Dk4JR7KfLisjcIKO6o4YDjgI.</div>
<div>To: <a class="moz-txt-link-abbreviated" href="mailto:sip:831234@yarn.com;tag=96d7fa0-a5f5e8e-13ce-45026-fb8d-51adfd08-fb8d">
sip:831234@yarn.com;tag=96d7fa0-a5f5e8e-13ce-45026-fb8d-51adfd08-fb8d</a>.</div>
<div>Call-ID: a9nOyGQ906Farr1Ayrk4vgoJvKXv87Le.</div>
<div>CSeq: 14479 ACK.</div>
<div>Content-Length: &nbsp;0.</div>
<div>.</div>
</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Daniel-Constantin Mierla &lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>&quot;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&quot; &lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>martes 9 de octubre de 2012 11:47<br>
<span style="font-weight:bold">To: </span>Marina Serrano Montes &lt;<a href="mailto:marinas@tid.es">marinas@tid.es</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List&quot; &lt;<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>&gt;, Vicente Hernando &lt;<a href="mailto:vhernando@systemonenoc.com">vhernando@systemonenoc.com</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [SR-Users] how to use fix_nated_sdp(&quot;2&quot;) with multiple media types<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF">Hello,<br>
<br>
in the onreply_route block use rtpproxy_manage(), not fix_nated_sdp().<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 10/9/12 10:57 AM, MARINA SERRANO MONTES wrote:<br>
</div>
<blockquote type="cite">
<div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px">Hi Daniel,</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px">Thanks. But, I think there is any think I have not understand.</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px">I have my route[MCU] module with the following code:</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px">
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px">route [MCU]{</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><span class="Apple-tab-span" style="white-space:pre"></span>if (uri=~&quot;^sip:[7,8][0-9]&#43;@&quot;){</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><span class="Apple-tab-span" style="white-space:pre"></span>xlog(&quot;Forward to MCU&quot;);</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="Apple-tab-span" style="white-space:pre">
</span>rewritehost(&quot;10.95.94.142&quot;);&nbsp;</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><span class="Apple-tab-span" style="white-space:pre"></span>rewriteport(&quot;5070&quot;);</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><span class="Apple-tab-span" style="white-space:pre"></span>rtpproxy_manage();</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><span class="Apple-tab-span" style="white-space:pre"></span>t_relay();</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><span class="Apple-tab-span" style="white-space:pre"></span>&nbsp;t_on_reply(&quot;CHANGE_SDP&quot;);</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><span class="Apple-tab-span" style="white-space:pre"></span>xlog(&quot;after forward to MCU&quot;);</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><span class="Apple-tab-span" style="white-space:pre"></span>exit;</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px">&nbsp; &nbsp; &nbsp; &nbsp; }</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px">}</div>
<div><br>
</div>
</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px">
<div>onreply_route[CHANGE_SDP] {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>xlog(&quot;CHANGE_SDP&quot;);</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if(t_check_status(&quot;(200)|(183)&quot;))</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if(has_body(&quot;application/sdp&quot;))</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if(search(&quot;IN IP4 10.95.94.142&quot;))</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>xlog(&quot;search IN IP4 .142&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span><b>fix_nated_sdp(&quot;2&quot;, &quot;195.235.93.8&quot;);&nbsp;</b>//where 195.235.93.8 --&gt;public IP of sip server with rtpproxy</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><br>
</div>
<div>}</div>
</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px">If I comment&nbsp;t_on_reply(&quot;CHANGE_SDP&quot;) line, I can observe traffic from MCU to rtpproxy is received (testing using tcpdump), but traffic from endpoint to rtpproxy is not received and
 therefore, input traffic MCU is null. In this case, using only: rtpproxy_manage(),<b>&nbsp;the IP in SDP are not replaced by rtpproxy IP.</b></div>
<div style="color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:14px"><br>
</div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif">If I don't comment&nbsp;</font>&nbsp;t_on_reply(&quot;CHANGE_SDP&quot;), in this case, I force to replace IP using &quot;fix_<span style="font-style:italic">nated_</span>sdp(&quot;2&quot;,
 publicIP)&quot; and I can observe using tcpdump in server than traffic from endpoint from rtpproxy is received, but traffic from rtpproxy to MCU is not received and traffic from MCU to rtpproxy is not received.</div>
<div style="font-family:Calibri; font-size:medium"><br>
</div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif">My question is, how can I set up using &quot;rtpproxy_manage(),….&quot;to allow all there traffic will be routed rightly through rtpproxy?</font></div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif">Should I add any new line in my config file? Anything to change?</font></div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif"><br>
</font></div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif">Many thanks.</font></div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif"><br>
</font></div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif"><br>
</font></div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif">I attach part of the full route file:</font></div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif"><span class="Apple-style-span" style="font-size:14px">
<div>
<div># Main SIP request routing logic</div>
<div># - processing of any incoming SIP request starts with this route</div>
<div># - note: this is the same as route { ... }</div>
<div>request_route {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span># NAT detection</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>route(NATDETECT);</div>
<div><br>
</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>### only initial requests (no To tag)</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>t_check_trans();</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span># record routing for dialog forming requests (in case they are routed)</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span># - remove preloaded route headers</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>remove_hf(&quot;Route&quot;);</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; if (is_method(&quot;INVITE&quot;))</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;record_route_preset(&quot;195.235.93.8:5070;transport=TCP&quot;);</div>
<div><br>
</div>
<div>&nbsp;</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (is_method(&quot;INVITE|SUBSCRIBE&quot;))</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>record_route();</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span># account only INVITEs</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (is_method(&quot;INVITE&quot;))</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>setflag(FLT_ACC); # do accounting</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; #ggb: TCP connection reuse</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; if (proto != UDP) {</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; add_contact_alias();</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; }</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span># dispatch requests to foreign domains</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>route(SIPOUT);</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>### requests for my local domains</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if ($rU==$null)</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span># request with no Username in RURI</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>sl_send_reply(&quot;484&quot;,&quot;Address Incomplete&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>exit;</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>route(MCU);</div>
<div><br>
</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>route(RELAY);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><br>
</div>
<div>}</div>
<div><br>
</div>
<div><br>
</div>
<div>route[RELAY] {</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span># enable additional event routes for forwarded requests</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span># - serial forking, RTP relaying handling, a.s.o.</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (is_method(&quot;INVITE|SUBSCRIBE&quot;)) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>t_on_branch(&quot;MANAGE_BRANCH&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>t_on_reply(&quot;MANAGE_REPLY&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (is_method(&quot;INVITE&quot;)) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>t_on_failure(&quot;MANAGE_FAILURE&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (!t_relay()) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>sl_reply_error();</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>exit;</div>
<div>}</div>
<div><br>
</div>
<div># Caller NAT detection route</div>
<div>route[NATDETECT] {</div>
<div>#!ifdef WITH_NAT</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>force_rport();</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (nat_uac_test(&quot;19&quot;)) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (is_method(&quot;REGISTER&quot;)) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>xlog(&quot;fix_nated_register&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>fix_nated_register();</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>xlog(&quot;fix_nated_contact&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>fix_nated_contact();</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>setflag(FLT_NATS);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div>#!endif</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>return;</div>
<div>}</div>
<div><br>
</div>
<div># RTPProxy control</div>
<div>route[NATMANAGE] {</div>
<div>#!ifdef WITH_NAT</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (is_request()) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if(has_totag()) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if(check_route_param(&quot;nat=yes&quot;)) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>setbflag(FLB_NATB);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB)))</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>return;</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>&nbsp;rtpproxy_manage(&quot;&quot;, &quot;195.235.93.8&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (is_request()) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (!has_totag()) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>add_rr_param(&quot;;nat=yes&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (is_reply()) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if(isbflagset(FLB_NATB)) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>fix_nated_contact();</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div>#!endif</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>return;</div>
<div>}</div>
<div><br>
</div>
<div># Routing to foreign domains</div>
<div>route[SIPOUT] {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (!uri==myself)</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>append_hf(&quot;P-hint: outbound\r\n&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>route(RELAY);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div>}</div>
<div><br>
</div>
<div><br>
</div>
<div># manage outgoing branches</div>
<div>branch_route[MANAGE_BRANCH] {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>xdbg(&quot;new branch [$T_branch_idx] to $ru\n&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>route(NATMANAGE);</div>
<div>}</div>
<div><br>
</div>
<div># manage incoming replies</div>
<div>onreply_route[MANAGE_REPLY] {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>xdbg(&quot;incoming reply\n&quot;);</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; #ggb: TCP connection reuse</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; add_contact_alias();</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if(status=~&quot;[12][0-9][0-9]&quot;)</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>route(NATMANAGE);</div>
<div>}</div>
<div><br>
</div>
<div>onreply_route[CHANGE_SDP] {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>xlog(&quot;CHANGE_SDP&quot;);</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if(t_check_status(&quot;(200)|(183)&quot;))</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if(has_body(&quot;application/sdp&quot;))</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if(search(&quot;IN IP4 10.95.94.142&quot;))</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>xlog(&quot;search IN IP4 .142&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>fix_nated_sdp(&quot;2&quot;, &quot;195.235.93.8&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><br>
</div>
<div>}</div>
<div><br>
</div>
<div># manage failure routing cases</div>
<div>failure_route[MANAGE_FAILURE] {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>route(NATMANAGE);</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (t_is_canceled()) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>exit;</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div><br>
</div>
<div>#!ifdef WITH_BLOCK3XX</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span># block call redirect based on 3xx replies.</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (t_check_status(&quot;3[0-9][0-9]&quot;)) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>t_reply(&quot;404&quot;,&quot;Not found&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>exit;</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>}</div>
<div>#!endif</div>
<div><br>
</div>
<div>}</div>
<div>route [MCU]{</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>if (uri=~&quot;^sip:[7,8][0-9]&#43;@&quot;){</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>xlog(&quot;Forward to MCU&quot;);</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="Apple-tab-span" style="white-space:pre"> </span>rewritehost(&quot;10.95.94.142&quot;);&nbsp;</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>rewriteport(&quot;5070&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>rtpproxy_manage();</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>t_relay();</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>&nbsp;t_on_reply(&quot;CHANGE_SDP&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>xlog(&quot;after forward to MCU&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>exit;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; }</div>
<div><br>
</div>
<div>}</div>
</div>
<div><b><br>
</b></div>
</span></font></div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif"><br>
</font></div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif">Br,</font></div>
<div style="font-family:Calibri; font-size:medium"><font class="Apple-style-span" face="Calibri,sans-serif">Marina</font></div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium
                  none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium
                  none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Daniel-Constantin Mierla &lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>&quot;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&quot; &lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>martes 9 de octubre de 2012 00:18<br>
<span style="font-weight:bold">To: </span>Marina Serrano Montes &lt;<a href="mailto:marinas@tid.es">marinas@tid.es</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List&quot; &lt;<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>&gt;, Vicente Hernando &lt;<a href="mailto:vhernando@systemonenoc.com">vhernando@systemonenoc.com</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [SR-Users] how to use fix_nated_sdp(&quot;2&quot;) with multiple media types<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF">Hello,<br>
<br>
you should not set the second parameter of rtpproxy_manage(...), let it be the one returned by rtpproxy.<br>
<br>
And yes, all the occurrences of IP addresses in c= lines will be replaced by the rtpproxy ip, but providing different ports for each media stream.<br>
<br>
Practically the rtp streams are going from end device to rtpproxy and then based on port will be delivered to different IPs of the MCU. Also, the MCU will send from different IPs to RTPProxy on different ports and from there to the end device.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 10/8/12 6:05 PM, MARINA SERRANO MONTES wrote:<br>
</div>
<blockquote type="cite">
<div>Hi Daniel,</div>
<div><br>
</div>
<div>I have tested using &quot;rtpproxy_manage(&quot;&quot;, public IP), but in this case, it replaces all the c= lines with this public IP, included c=lines in media descriptions and then, the rtp traffic is not routing to the right IP in MCU.&nbsp;</div>
<div><br>
</div>
<div>Have I to set up any value/param….to route rtp traffic through rtpproxy in sip server and then it will dispatch RTP packets to MCU?</div>
<div><br>
</div>
<div>Thanks.</div>
<div><br>
</div>
<div>Br,</div>
<div>Marina</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium
                          none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt
                          solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Daniel-Constantin Mierla &lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>&quot;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&quot; &lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>lunes 8 de octubre de 2012 16:04<br>
<span style="font-weight:bold">To: </span>&quot;SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List&quot; &lt;<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>Vicente Hernando &lt;<a href="mailto:vhernando@systemonenoc.com">vhernando@systemonenoc.com</a>&gt;, Marina Serrano Montes &lt;<a href="mailto:marinas@tid.es">marinas@tid.es</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [SR-Users] how to use fix_nated_sdp(&quot;2&quot;) with multiple media types<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF">Hello,<br>
<br>
I understood that Marina is looking for the option of being able to use different IP addresses for updating various c= lines in SDP.
<br>
<br>
fix_nated_sdp(...) can work only with one IP address given as second parameter (or taken for source address of the packet).<br>
<br>
Perhaps fix_nated_sdp(...) can be easily extended to support a list of ip addresses in the second parameter. For now the solution is to use rtpproxy to rewrite all the IP addresses in c= lines with the IP address of the rtpproxy. RTPProxy will then dispatch
 RTP to the right IP address assigned for each media stream.<br>
<br>
Regarding the patch sent by Vicente, I just replied on sr-dev mailing list.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 10/8/12 3:25 PM, Vicente Hernando wrote:<br>
</div>
<blockquote type="cite">
<div class="moz-cite-prefix">Hello Marina,<br>
<br>
there is a bug in sdp parser about c IPs which are not correctly reset for non existent c values in streams.<br>
<br>
I have still not uploaded it to master branch, sorry.<br>
<br>
May be it is related to your issue, in this link you have the attached patch.<br>
<br>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/pipermail/sr-dev/2012-September/016440.html">http://lists.sip-router.org/pipermail/sr-dev/2012-September/016440.html</a><br>
<br>
<br>
Kind regards,<br>
Vicente.<br>
<br>
On 10/08/2012 01:18 PM, MARINA SERRANO MONTES wrote:<br>
</div>
<blockquote type="cite">
<div><span class="Apple-style-span" style="font-family:Consolas; font-size:14px">Hi,</span></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas"><br>
</font></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas">I have a doubt about how to use &quot;fix_<span style="font-style:italic">nated_</span>sdp(&quot;2&quot;)&quot; function when we have an scenario with multiple media types (audio and video) and the param
 &quot;c&quot; in sdp for each media type has a different IP.</font></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas">We are using a SCOPIA 400 MCU to multi-party in a call, and it will set up different IP to send RTP depend on media type.</font></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas"><br>
</font></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas">I have tested this function, but it rewrites always all the &quot;c&quot; parameter with the same value.</font></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas"><br>
</font></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas">Is there any option to use the function or to rewrite &quot;c&quot; value for each media type independently?</font></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas"><br>
</font></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas">Many thanks.</font></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas"><br>
</font></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas">Br,</font></div>
<div style="font-size:14px"><font class="Apple-style-span" face="Consolas">Marina</font></div>
<br>
<hr>
<font size="1" color="Gray" face="Arial"><br>
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.<br>
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:<br>
<a class="moz-txt-link-freetext" href="http://www.tid.es/ES/PAGINAS/disclaimer.aspx">http://www.tid.es/ES/PAGINAS/disclaimer.aspx</a><br>
</font><br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a><a class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a></pre>
</div>
</div>
</span><br>
<hr>
<font size="1" color="Gray" face="Arial"><br>
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.<br>
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:<br>
<a class="moz-txt-link-freetext" href="http://www.tid.es/ES/PAGINAS/disclaimer.aspx">http://www.tid.es/ES/PAGINAS/disclaimer.aspx</a><br>
</font></blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a><a class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a></pre>
</div>
</div>
</span><br>
<hr>
<font size="1" color="Gray" face="Arial"><br>
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.<br>
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:<br>
<a class="moz-txt-link-freetext" href="http://www.tid.es/ES/PAGINAS/disclaimer.aspx">http://www.tid.es/ES/PAGINAS/disclaimer.aspx</a><br>
</font></blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a><a class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a></pre>
</div>
</div>
</span><br>
<hr>
<font size="1" color="Gray" face="Arial"><br>
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.<br>
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:<br>
<a class="moz-txt-link-freetext" href="http://www.tid.es/ES/PAGINAS/disclaimer.aspx">http://www.tid.es/ES/PAGINAS/disclaimer.aspx</a><br>
</font></blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a><a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a></pre>
</div>
</div>
</span><br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.<br>
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:<br>
http://www.tid.es/ES/PAGINAS/disclaimer.aspx<br>
</font>
</body>
</html>