Hello all I'm trying to get my asterisk config to listen to multiple ports. This is since some clients have port 5060 blocked by their ISP. Does anyone know how to do this in sip.conf or if it is even supported? Thanks!
Are you in the USA? If so call the FCC, they do not like port 5060 blocking (or any other VoIP port blocking) See here: http://www.google.com/search?hl=en&q=fcc+fine+voip Not the technical answer you are looking for but the RIGHT answer.> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Prepaid > Sent: Monday, June 13, 2005 10:46 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] SIP Listen to multiple ports > > Hello all > > I'm trying to get my asterisk config to listen to multiple ports. This > is since some clients have port 5060 blocked by their ISP. > > Does anyone know how to do this in sip.conf or if it is evensupported?> > Thanks! > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
The RTP ports are not blocked, I have already binded on the other port and it works fine, I would just like to have Asterisk bind to multiple ports. If they start blocking the 10,000 to 20,000 ports for RTP it will never end and they might as well not allow connections on any out going ports besides 80. On 6/14/05, Damon Estep <damon@suburbanbroadband.net> wrote:> > You will not win, once you get past the 5060 issue you might find RTP > blocked also. > > > > -----Original Message----- > > From: Prepaid [mailto:prepaid@gmail.com] > > Sent: Monday, June 13, 2005 10:54 PM > > To: Damon Estep; asterisk-users@lists.digium.com > > Subject: Re: [Asterisk-Users] SIP Listen to multiple ports > > > > The end point that is having the issue is not in the US. > > > > I could just change the default port on asterisk to another one, but I > > would also like it to bind in 5060 in addition to the extra ports for > > "special isps" > > > > The ISP blocking the port 5060 is Airtel in Bangalore, India, for the > > curiosity of others.. > > > > On 6/14/05, Damon Estep <damon@suburbanbroadband.net> wrote: > > > Are you in the USA? > > > > > > If so call the FCC, they do not like port 5060 blocking (or any > other > > > VoIP port blocking) > > > > > > See here: http://www.google.com/search?hl=en&q=fcc+fine+voip > > > > > > Not the technical answer you are looking for but the RIGHT answer. > > > > > > > -----Original Message----- > > > > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users- > > > > bounces@lists.digium.com] On Behalf Of Prepaid > > > > Sent: Monday, June 13, 2005 10:46 PM > > > > To: asterisk-users@lists.digium.com > > > > Subject: [Asterisk-Users] SIP Listen to multiple ports > > > > > > > > Hello all > > > > > > > > I'm trying to get my asterisk config to listen to multiple ports. > This > > > > is since some clients have port 5060 blocked by their ISP. > > > > > > > > Does anyone know how to do this in sip.conf or if it is even > > > supported? > > > > > > > > Thanks! > > > > _______________________________________________ > > > > Asterisk-Users mailing list > > > > Asterisk-Users@lists.digium.com > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > To UNSUBSCRIBE or update options visit: > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > >
I could, but I don't want to do that. I just want to be able to have asterisk listen on multiple SIP ports. Is that possible? No need to keep trying to go around the issue.. On 6/14/05, Damon Estep <damon@suburbanbroadband.net> wrote:> Or you could run another * box as a "proxy" (proxy is not the right > term, but you get the idea) on different port and trunk to your main box > with iax. > > > -----Original Message----- > > From: Prepaid [mailto:prepaid@gmail.com] > > Sent: Monday, June 13, 2005 10:54 PM > > To: Damon Estep; asterisk-users@lists.digium.com > > Subject: Re: [Asterisk-Users] SIP Listen to multiple ports > > > > The end point that is having the issue is not in the US. > > > > I could just change the default port on asterisk to another one, but I > > would also like it to bind in 5060 in addition to the extra ports for > > "special isps" > > > > The ISP blocking the port 5060 is Airtel in Bangalore, India, for the > > curiosity of others.. > > > > On 6/14/05, Damon Estep <damon@suburbanbroadband.net> wrote: > > > Are you in the USA? > > > > > > If so call the FCC, they do not like port 5060 blocking (or any > other > > > VoIP port blocking) > > > > > > See here: http://www.google.com/search?hl=en&q=fcc+fine+voip > > > > > > Not the technical answer you are looking for but the RIGHT answer. > > > > > > > -----Original Message----- > > > > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users- > > > > bounces@lists.digium.com] On Behalf Of Prepaid > > > > Sent: Monday, June 13, 2005 10:46 PM > > > > To: asterisk-users@lists.digium.com > > > > Subject: [Asterisk-Users] SIP Listen to multiple ports > > > > > > > > Hello all > > > > > > > > I'm trying to get my asterisk config to listen to multiple ports. > This > > > > is since some clients have port 5060 blocked by their ISP. > > > > > > > > Does anyone know how to do this in sip.conf or if it is even > > > supported? > > > > > > > > Thanks! > > > > _______________________________________________ > > > > Asterisk-Users mailing list > > > > Asterisk-Users@lists.digium.com > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > To UNSUBSCRIBE or update options visit: > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > >
Yes they could, then I would just switch to VoIP or VPN and it wouldn't be possible for them to do that, anything is possible after all. Please help me find a solution to my original request instead of trying to go all the way around it. On 6/14/05, Damon Estep <damon@suburbanbroadband.net> wrote:> You don't have to block ports 10k to 20k to block rtp, they could block > packets matching the RTP profile, under 100k in size, udp, port above > 10k, 20ms timing... > > > -----Original Message----- > > From: Prepaid [mailto:prepaid@gmail.com] > > Sent: Monday, June 13, 2005 11:04 PM > > To: Damon Estep; asterisk-users@lists.digium.com > > Subject: Re: [Asterisk-Users] SIP Listen to multiple ports > > > > The RTP ports are not blocked, I have already binded on the other port > > and it works fine, I would just like to have Asterisk bind to multiple > > ports. > > > > If they start blocking the 10,000 to 20,000 ports for RTP it will > > never end and they might as well not allow connections on any out > > going ports besides 80. > > > > On 6/14/05, Damon Estep <damon@suburbanbroadband.net> wrote: > > > > > > You will not win, once you get past the 5060 issue you might find > RTP > > > blocked also. > > > > > > > > > > -----Original Message----- > > > > From: Prepaid [mailto:prepaid@gmail.com] > > > > Sent: Monday, June 13, 2005 10:54 PM > > > > To: Damon Estep; asterisk-users@lists.digium.com > > > > Subject: Re: [Asterisk-Users] SIP Listen to multiple ports > > > > > > > > The end point that is having the issue is not in the US. > > > > > > > > I could just change the default port on asterisk to another one, > but I > > > > would also like it to bind in 5060 in addition to the extra ports > for > > > > "special isps" > > > > > > > > The ISP blocking the port 5060 is Airtel in Bangalore, India, for > the > > > > curiosity of others.. > > > > > > > > On 6/14/05, Damon Estep <damon@suburbanbroadband.net> wrote: > > > > > Are you in the USA? > > > > > > > > > > If so call the FCC, they do not like port 5060 blocking (or any > > > other > > > > > VoIP port blocking) > > > > > > > > > > See here: http://www.google.com/search?hl=en&q=fcc+fine+voip > > > > > > > > > > Not the technical answer you are looking for but the RIGHT > answer. > > > > > > > > > > > -----Original Message----- > > > > > > From: asterisk-users-bounces@lists.digium.com > > > [mailto:asterisk-users- > > > > > > bounces@lists.digium.com] On Behalf Of Prepaid > > > > > > Sent: Monday, June 13, 2005 10:46 PM > > > > > > To: asterisk-users@lists.digium.com > > > > > > Subject: [Asterisk-Users] SIP Listen to multiple ports > > > > > > > > > > > > Hello all > > > > > > > > > > > > I'm trying to get my asterisk config to listen to multiple > ports. > > > This > > > > > > is since some clients have port 5060 blocked by their ISP. > > > > > > > > > > > > Does anyone know how to do this in sip.conf or if it is even > > > > > supported? > > > > > > > > > > > > Thanks! > > > > > > _______________________________________________ > > > > > > Asterisk-Users mailing list > > > > > > Asterisk-Users@lists.digium.com > > > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > To UNSUBSCRIBE or update options visit: > > > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > >
If you do a sip show peers I think you will see that your PAP2 setup registers its port with * as being 5060 on line 1 and 5061 on line 2, but it stills calls port 5060 on asterisk when it makes the registration. I think * is actually listening on the first configured port. You might get the same results you have now after removing the port=5061, have you tried Prepaid, post if this actually works or not in your case where port 5060 out from the UA is blocked.> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of squid@cancun.com.mx > Sent: Monday, June 13, 2005 11:41 PM > To: Prepaid; Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] SIP Listen to multiple ports > > Hello > > I added to sip.conf 2 instances of the port parameter ej: > > [general] > port=5060 > port=5061 > > It works for me, we used the Linksys pap2-na with both lines at thesame> time > we cant bind it to the same 5060 port, then I configured line1 to 5060and> line2 > to 5061, asterisk is listening at both ports and working like expected > > Juan Bou > > > At 12:09 a.m. 14/06/2005, you wrote: > > > > > > > > > > -----Original Message----- > > > > > > > > From: asterisk-users-bounces@lists.digium.com > > > > > [mailto:asterisk-users- > > > > > > > > bounces@lists.digium.com] On Behalf Of Prepaid > > > > > > > > Sent: Monday, June 13, 2005 10:46 PM > > > > > > > > To: asterisk-users@lists.digium.com > > > > > > > > Subject: [Asterisk-Users] SIP Listen to multiple ports > > > > > > > > > > > > > > > > Hello all > > > > > > > > > > > > > > > > I'm trying to get my asterisk config to listen tomultiple> > > ports. > > > > > This > > > > > > > > is since some clients have port 5060 blocked by theirISP.> > > > > > > > > > > > > > > > Does anyone know how to do this in sip.conf or if it iseven> > > > > > > supported? > > > > > > > > > > > > > > > > Thanks! > > > > > > > > _______________________________________________ > > > > > > > > Asterisk-Users mailing list > > > > > > > > Asterisk-Users@lists.digium.com > > > > > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > To UNSUBSCRIBE or update options visit: > > > > > > > >http://lists.digium.com/mailman/listinfo/asterisk-users> > > > > > > > > > > > > > > > >_______________________________________________ > >Asterisk-Users mailing list > >Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users > >To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > ~ > > - > > Juan Bou Riquer. > > Internet Cancun. > > jbou@cancun.com.mx > > Tel. 87-2601 Fax. 84-3809 > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
I just ran a couple of test with CVS Head Port=5060 Port=5061 Result = chan_sip reports listening on 5060 Port=5061 Port=5060 Result = chan_sip reports listening on 5060 (ignoring port=?) Port=5061 Result = chan_sip STILL reports listening on 5060 Bindport=5061 Result = chan_sip reports listening on 5061 Bindport=5061 Bindport=5060 Result = istening on 5060 Conclusion - asterisk only listens on one port, and ignores the second port= or bindport> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of squid@cancun.com.mx > Sent: Monday, June 13, 2005 11:41 PM > To: Prepaid; Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] SIP Listen to multiple ports > > Hello > > I added to sip.conf 2 instances of the port parameter ej: > > [general] > port=5060 > port=5061 > > It works for me, we used the Linksys pap2-na with both lines at thesame> time > we cant bind it to the same 5060 port, then I configured line1 to 5060and> line2 > to 5061, asterisk is listening at both ports and working like expected > > Juan Bou > > > At 12:09 a.m. 14/06/2005, you wrote: > > > > > > > > > > -----Original Message----- > > > > > > > > From: asterisk-users-bounces@lists.digium.com > > > > > [mailto:asterisk-users- > > > > > > > > bounces@lists.digium.com] On Behalf Of Prepaid > > > > > > > > Sent: Monday, June 13, 2005 10:46 PM > > > > > > > > To: asterisk-users@lists.digium.com > > > > > > > > Subject: [Asterisk-Users] SIP Listen to multiple ports > > > > > > > > > > > > > > > > Hello all > > > > > > > > > > > > > > > > I'm trying to get my asterisk config to listen tomultiple> > > ports. > > > > > This > > > > > > > > is since some clients have port 5060 blocked by theirISP.> > > > > > > > > > > > > > > > Does anyone know how to do this in sip.conf or if it iseven> > > > > > > supported? > > > > > > > > > > > > > > > > Thanks! > > > > > > > > _______________________________________________ > > > > > > > > Asterisk-Users mailing list > > > > > > > > Asterisk-Users@lists.digium.com > > > > > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > To UNSUBSCRIBE or update options visit: > > > > > > > >http://lists.digium.com/mailman/listinfo/asterisk-users> > > > > > > > > > > > > > > > >_______________________________________________ > >Asterisk-Users mailing list > >Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users > >To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > ~ > > - > > Juan Bou Riquer. > > Internet Cancun. > > jbou@cancun.com.mx > > Tel. 87-2601 Fax. 84-3809 > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Hi, What about using IPTABLES DNAT stuff in order to map all incoming 5061 traffic to 5060 port ? That may work. On 6/14/05, Damon Estep <damon@suburbanbroadband.net> wrote:> Conclusion - asterisk only listens on one port, and ignores the second > port= or bindport-- Juanjo sin .sig :(
You must have missed the part where Prepaid got upset when I suggested workarounds :)> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Juan J. Sierralta P. > Sent: Tuesday, June 14, 2005 12:46 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] SIP Listen to multiple ports > > Hi, > > What about using IPTABLES DNAT stuff in order to map all incoming > 5061 traffic to 5060 port ? That may work. > > On 6/14/05, Damon Estep <damon@suburbanbroadband.net> wrote: > > > Conclusion - asterisk only listens on one port, and ignores thesecond> > port= or bindport> > -- > Juanjo sin .sig :( > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Hi, I just noted that :( Anyway maybe is not so hard to modifiy the code to handle multiple ports, I believe this would give a cleaner solution, only if Prepaid can code ;) BTW: Maybe everybody has this problem but sometimes when I post I receive a message from Mr. Zimmermann who seems to be out of office ! On 6/14/05, Damon Estep <damon@suburbanbroadband.net> wrote:> You must have missed the part where Prepaid got upset when I suggested > workarounds :)-- Juanjo sin .sig :(