<p>I believe you will always have (x ports * 2) since RTP is always accompanied by an odd numbered RTCP port.  So you do have only 2 RTP ports listed above, but those RTP ports also require a RTCP port.  Look at this</p>
<p><a href="http://en.wikipedia.org/wiki/RTP_Control_Protocol">http://en.wikipedia.org/wiki/RTP_Control_Protocol</a><br><br></p>
<div class="gmail_quote">On Tue, Jan 19, 2010 at 1:56 AM, ha do <span dir="ltr">&lt;<a href="mailto:haloha201@yahoo.com">haloha201@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">Hi all<br><br>i debug on mediaproxy and see, mediaproxy create 4 ports but the real ports to relay media are only 2 ports: <a href="http://118.69.239.140:50012/" target="_blank">118.69.239.140:50012</a> &lt;-&gt; <a href="http://118.69.239.140:50014/" target="_blank">118.69.239.140:50014</a><br>
<br>is it normal, can i config mediaproxy create only 2 ports<br><br>Thank you<br>Ha`<br><br>mediaproxy.mediacontrol.StreamListenerProtocol starting on 50012<br>mediaproxy.mediacontrol.StreamListenerProtocol starting on 50013<br>
mediaproxy.mediacontrol.StreamListenerProtocol starting on 50014<br>mediaproxy.mediacontrol.StreamListenerProtocol starting on 50015<br>debug: Added new stream: (audio) <a href="http://192.168.1.4:45746/" target="_blank">192.168.1.4:45746</a> (RTP: Unknown, RTCP: Unknown) &lt;-&gt; <a href="http://118.69.239.140:50012/" target="_blank">118.69.239.140:50012</a> &lt;-&gt; <a href="http://118.69.239.140:50014/" target="_blank">118.69.239.140:50014</a> &lt;-&gt; Unknown (RTP: Unknown, RTCP: Unknown)<br>
debug: created new session <a href="mailto:7810dcdd0ceb7af9@192.168.1.4" target="_blank">7810dcdd0ceb7af9@192.168.1.4</a>: <a href="mailto:8000@118.69.239.140" target="_blank">8000@118.69.239.140</a> (93846fc44ae3fe24) --&gt; <a href="mailto:9000@118.69.239.140" target="_blank">9000@118.69.239.140</a><br>
debug: updating existing session <a href="mailto:7810dcdd0ceb7af9@192.168.1.4" target="_blank">7810dcdd0ceb7af9@192.168.1.4</a>: <a href="mailto:8000@118.69.239.140" target="_blank">8000@118.69.239.140</a> (93846fc44ae3fe24) --&gt; <a href="mailto:9000@118.69.239.140" target="_blank">9000@118.69.239.140</a><br>
debug: Received updated SDP answer<br>debug: Got initial answer from callee for stream: (audio) <a href="http://192.168.1.4:45746/" target="_blank">192.168.1.4:45746</a> (RTP: Unknown, RTCP: Unknown) &lt;-&gt; <a href="http://118.69.239.140:50012/" target="_blank">118.69.239.140:50012</a> &lt;-&gt; <a href="http://118.69.239.140:50014/" target="_blank">118.69.239.140:50014</a> &lt;-&gt; <a href="http://192.168.1.6:48000/" target="_blank">192.168.1.6:48000</a> (RTP: Unknown, RTCP: Unknown)<br>
debug: Got traffic information for stream: (audio) <a href="http://192.168.1.4:45746/" target="_blank">192.168.1.4:45746</a> (RTP: <a href="http://210.245.35.150:45746/" target="_blank">210.245.35.150:45746</a>, RTCP: Unknown) &lt;-&gt; <a href="http://118.69.239.140:50012/" target="_blank">118.69.239.140:50012</a> &lt;-&gt; <a href="http://118.69.239.140:50014/" target="_blank">118.69.239.140:50014</a> &lt;-&gt; <a href="http://192.168.1.6:48000/" target="_blank">192.168.1.6:48000</a> (RTP: Unknown, RTCP: Unknown)<br>
debug: Got traffic information for stream: (audio) <a href="http://192.168.1.4:45746/" target="_blank">192.168.1.4:45746</a> (RTP: <a href="http://210.245.35.150:45746/" target="_blank">210.245.35.150:45746</a>, RTCP: Unknown) &lt;-&gt; <a href="http://118.69.239.140:50012/" target="_blank">118.69.239.140:50012</a> &lt;-&gt; <a href="http://118.69.239.140:50014/" target="_blank">118.69.239.140:50014</a> &lt;-&gt; <a href="http://192.168.1.6:48000/" target="_blank">192.168.1.6:48000</a> (RTP: <a href="http://210.245.35.150:48000/" target="_blank">210.245.35.150:48000</a>, RTCP: Unknown)<br>
debug: removing session <a href="mailto:7810dcdd0ceb7af9@192.168.1.4" target="_blank">7810dcdd0ceb7af9@192.168.1.4</a>: <a href="mailto:8000@118.69.239.140" target="_blank">8000@118.69.239.140</a> (93846fc44ae3fe24) --&gt; <a href="mailto:9000@118.69.239.140" target="_blank">9000@118.69.239.140</a><br>
(Port 50012 Closed)<br>(Port 50013 Closed)<br>(Port 50014 Closed)<br>(Port 50015 Closed)<br><br></td></tr></tbody></table><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>--<br>*--*--*--*--*--*<br>
Duane<br>*--*--*--*--*--*<br>--<br>