<div>well i think rtp port range is defined in rtp.conf and correct me if i am wrong, these ports must be opened/forwarded to communicate.</div>
<div> </div>
<div><a href="http://www.asteriskguru.com/tutorials/sip_nat_oneway_or_no_audio_asterisk.html">http://www.asteriskguru.com/tutorials/sip_nat_oneway_or_no_audio_asterisk.html</a></div>
<div> </div>
<div>Let me know if you need more information.</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>Vivek</div>
<div><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"> </span></p>
<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">I'm not sure what you mean, could you explain further?</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Regards</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<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> Monday, 12 November 2007 1:21 AM
<div><span class="e" id="q_1163270e901a8dcb_1"><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_1163270e901a8dcb_3">
<p> </p>
<div>
<p>Hi Ryan,</p></div>
<div>
<p> </p></div>
<div>
<p>I was just wondering if they need to be according rtp.conf. ( or you may need to modify rtp.conf)</p></div>
<div>
<p> </p></div>
<div>
<p>Regards,</p></div>
<div>
<p> </p></div>
<div>
<p>Vivek<br><br> </p></div>
<div>
<p><span>On 11/11/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>
<div>
<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>
<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>
<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 </span></p>
<div>
<p><span style="FONT-SIZE: 10pt"><br><span><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion</span><br><span><b>Subject:</b> Re: [asterisk-users] RTP traffic not being forwarded</span></span></p></div></div>
<div>
<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>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: </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></div></div></div>
<p><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>