<div>Hi Ryan,</div>
<div> </div>
<div>I was just wondering if they need to be according rtp.conf. ( or you may need to modify rtp.conf)</div>
<div> </div>
<div>Regards,</div>
<div> </div>
<div>Vivek<br><br> </div>
<div><span class="gmail_quote">On 11/11/07, <b class="gmail_sendername">Ryan Newington</b> <<a href="mailto:ryan@lithiumblue.com">ryan@lithiumblue.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Hi Vivek,</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">The SIP port is set to the standard port 5060. The RTP ports as far as I know are random ephemeral ports between 63000 and 64000.</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">I can change the port range on the media server, asterisk and the device, but neither seems to help.</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">My diagram below is probably misleading. The RTP traffic flow that I see is as follows (one way traffic into Asterisk)</span></p><span class="q">
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">SIP Phone <---> Media Gateway <b>---></b> Asterisk <b><---</b> SIP Phone</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p></span>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Ryan</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com
</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Vivek Shrivastava
<br><b>Sent:</b> Sunday, 11 November 2007 5:19 PM
<div><span class="e" id="q_1162e2b9928b7d32_3"><br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> Re: [asterisk-users] RTP traffic not being forwarded</span></div></span>
<p></p></p></div>
<div><span class="e" id="q_1162e2b9928b7d32_5">
<p> </p>
<div>
<p>Hi Ryan,</p></div>
<div>
<p> </p></div>
<div>
<p>Are the SIP and RTP ports are randomly selected or there are specific ports for these? Unchecking</p></div>
<div>
<p>random port selection option on the device/softphone may help.</p></div>
<div>
<p> </p></div>
<div>
<p>--Vivek<br><br> </p></div>
<div>
<p><span>On 11/10/07, <b>Ryan Newington</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ryan@lithiumblue.com" target="_blank">ryan@lithiumblue.com</a>> wrote:</span> </p>
<p>Hi Luki,<br><br>Thanks for your advice. I've checked the firewall and it is set to allow all incoming traffic. I changed the media port range as well with no success. <br><br>Some calls work fine. This is the configuration that doesn't work. The RTP traffic passes along the chain fine, but the Asterisk server doesn't do anything with the packets it gets from the near-end SIP phone and the media gateway.
<br><br>SIP Phone <-> Media Gateway <-> Asterisk <-> SIP Phone<br><br>An asterisk internal call will work fine. Eg;<br><br>SIP Phone <-> Asterisk <-> SIP Phone<br><br>Regards<br><br>Ryan<br><br>
<br><br>-----Original Message-----<br>From: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com </a>] On Behalf Of Luki<br>Sent: Sunday, 11 November 2007 12:52 PM
<br>To: Asterisk Users Mailing List - Non-Commercial Discussion<br>Subject: Re: [asterisk-users] RTP traffic not being forwarded<br><br>> When using 'rtp debug' on the asterisk console, it shows that it is <br>
> receiving traffic from one endpoint, but not the other. A wireshark trace<br>> reveals it is actually receiving traffic from both ends.<br><br>Sounds like a firewall issue. Wireshark shows what's "on the wire",
<br>i.e. before iptables. The packets are being dropped for whatever<br>reason and never reach the asterisk process. Check your iptables and<br>RTP port range, and perhaps try changing it.<br><br>Luki<br><br>_______________________________________________
<br>--Bandwidth and Colocation Provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><br><br>asterisk-users mailing list
<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank"> http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--
</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a></p></div>
<p> </p></span></div></div></div><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.api-digital.com--/" target="_blank">
http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>