FRom <a href="http://voip-info.org">voip-info.org</a><br><br># SIP on UDP port 5060. Other SIP servers may need TCP port 5060 as well <br>iptables -A INPUT -p udp -m udp --dport 5004:5082 -j ACCEPT <br># IAX2- the IAX protocol
<br>iptables -A INPUT -p udp -m udp --dport 4569 -j ACCEPT <br># IAX - most have switched to IAX v2, or ought to <br>iptables -A INPUT -p udp -m udp --dport 5036 -j ACCEPT <br># RTP - the media stream <br>iptables -A INPUT -p udp -m udp --dport 10000:20000 -j ACCEPT
<br># MGCP - if you use media gateway control protocol in your configuration <br>iptables -A INPUT -p udp -m udp --dport 2727 -j ACCEPT<br><br>Open all above ports and you should be good to go . Maybe you are recieving calls over iax and u havent opened iax2 port 4569 .. Anyway my server has all above ports opened and i have zero problems :) .
<br><br><div><span class="gmail_quote">On 14/11/06, <b class="gmail_sendername">Al Bochter</b> <<a href="mailto:Al.Bochter@bochterservices.com">Al.Bochter@bochterservices.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
<div bgcolor="#ffffff" text="#000000"> Yes you are right 10000-20000 are rtp ports used by asterisk by default<br> I have some that do set a custom range in /etc/asterisk/rtp.conf ..<br><br> After looking around.. There were not any notes about the 1000 - 2000 port range on there website.
<br> As you know if you don't know what the ports are it no workie!!!!!<br> And it is not good to DMZ the server.....<br> ----------<br> Now I have a handytone 386 that is set to<br><br> SIP port 5060 and 5062<br> RTP port 5004 and 5008
<br><br> You can set Random Ports to use: 1024 to 65535<br><br> The handytone will work fine on the LAN.... But if you would moved the Handytone to the internet it would NOT work do to the firewall..<br> Using the asterisk defaults
<br> ----------<br> So liked I ask before "So is there any standard ports"<span class="q"><br><pre cols="72">Best regards, Al Bochter Bochter Services <a href="http://www.BochterServices.com/?t=Email" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.BochterServices.com/?t=Email</a> Are you outside of the US? Do you need to call US Toll Free Numbers? We can help you save money on calling US toll free numbers. Email for information: <a href="mailto:usTollFree@bochterservices.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
usTollFree@bochterservices.com</a> (Cellular) 1-712-432-5401 (Voip PBX) Free World DialUp: 780-217 EXT: 250 WebSite: <a href="http://www.freeworlddialup.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.freeworlddialup.com/</a> BUY and sell Coins, Silver and Gold <a href="http://www.bochterservices.com/?j=gold&t=email" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.bochterservices.com/?j=gold&t=email
</a> For new and used security items <a href="http://www.bochterservices.com/?j=store&t=email_security" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.bochterservices.com/?j=store&t=email_security
</a> GOLD PLATING SERVICES <a href="http://www.bochterservices.com/?j=plating&t=email" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.bochterservices.com/?j=plating&t=email</a></pre>
<br><br></span> Vicky wrote: <blockquote cite="http://midff95c3730611131256o25dba415ud3da09cdc8a6dac3@mail.gmail.com" type="cite"><div><span class="e" id="q_10ee38154fd8e942_3">actually 10000-20000 are rtp ports used by asterisk .. its not really compulsary .. you can set a custom range in /etc/asterisk/rtp.conf .. check ur
rtp.conf what range its using and open that in firewall . Default with asterisk is 10000-20000 unless changed . <br><br><div><span class="gmail_quote">On 14/11/06, <b class="gmail_sendername">Al Bochter</b> <<a href="mailto:Al.Bochter@bochterservices.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Al.Bochter@bochterservices.com</a>> wrote:</span> <blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">
I was reading the posts and someone said about the default 1000 to 2000<br> I see in the .conf the default is 10000 to 20000<br><br> I found a service that gives inbound DID's in the firewall 5060 and<br> 10000 - 20000 is setup
<br> no workie on the DID<br><br> But when I set 5060 , 10000 - 20000 and (Unblocked) 1000 - 2000<br> Now the DID works fine.<br><br> So you me what the standard is<br><br> --<br> Best regards,<br><br> Al Bochter<br> Bochter Services
<br><a href="http://www.BochterServices.com/?t=Email" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.BochterServices.com/?t=Email</a><br><br> Are you outside of the US?<br> Do you need to call US Toll Free Numbers?
<br> We can help you save money on calling US toll free numbers. <br><br> Email for information: <a href="mailto:usTollFree@bochterservices.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">usTollFree@bochterservices.com
</a><br><br> (Cellular) 1-712-432-5401<br><br> (Voip PBX) Free World DialUp: 780-217 EXT: 250<br> WebSite: <a href="http://www.freeworlddialup.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.freeworlddialup.com/
</a><br><br> BUY and sell Coins, Silver and Gold<br><a href="http://www.bochterservices.com/?j=gold&t=email" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.bochterservices.com/?j=gold&t=email
</a><br><br> For new and used security items <br><a href="http://www.bochterservices.com/?j=store&t=email_security" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.bochterservices.com/?j=store&t=email_security
</a><br><br> GOLD PLATING SERVICES<br><a href="http://www.bochterservices.com/?j=plating&t=email" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.bochterservices.com/?j=plating&t=email
</a><br><br> _______________________________________________<br> --Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a>
--<br><br> asterisk-users mailing list <br> To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></span></div><pre><hr size="4" width="90%"><span class="q"> _______________________________________________ --Bandwidth and Colocation provided by
<a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users</a> </span></pre><pre><hr size="4" width="90%"> ---------------------------------------------------- Inbound (clean). Database: 0648-1, 11/13/2006 - 11/13/2006 4:03:01 PM
</pre></blockquote></div><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.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></blockquote></div><br>