We have many clients who live in third world countries where the ISPs purposely block traffic on port 5060. I know we could always change the listening port in our Asterisk box. However, doing so will affect all our other users who use port 5060 with no problems. Is there any other solution? I guess I could always run a second instance of Asterisk listening on another port, but is that the cleanest and most scalable solution? Thanks
I am wondering the same, there must be a way to CORRECTLY bind on two ports. On 11/28/06, lists@infoway.net <lists@infoway.net> wrote:> > We have many clients who live in third world countries where the ISPs > purposely block traffic on port 5060. > > I know we could always change the listening port in our Asterisk box. > However, doing so will affect all our other users who use port 5060 with > no problems. > > Is there any other solution? I guess I could always run a second instance > of Asterisk listening on another port, but is that the cleanest and most > scalable solution? > > Thanks > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061128/feace123/attachment.htm
On Tue, 2006-11-28 at 22:19 -0500, lists@infoway.net wrote:> We have many clients who live in third world countries where the ISPs > purposely block traffic on port 5060. > > I know we could always change the listening port in our Asterisk box. > However, doing so will affect all our other users who use port 5060 with > no problems. > > Is there any other solution? I guess I could always run a second instance > of Asterisk listening on another port, but is that the cleanest and most > scalable solution?Have you tried redirecting the other port with iptables to port 5060 on the Asterisk box? Regards, Patrick
Can you tunnel through a VPN connection? On 11/28/06, Patrick <asterisk-list@puzzled.xs4all.nl> wrote:> > On Tue, 2006-11-28 at 22:19 -0500, lists@infoway.net wrote: > > We have many clients who live in third world countries where the ISPs > > purposely block traffic on port 5060. > > > > I know we could always change the listening port in our Asterisk box. > > However, doing so will affect all our other users who use port 5060 with > > no problems. > > > > Is there any other solution? I guess I could always run a second > instance > > of Asterisk listening on another port, but is that the cleanest and most > > scalable solution? > > Have you tried redirecting the other port with iptables to port 5060 on > the Asterisk box? > > Regards, > Patrick > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061128/678a2d79/attachment.htm
Why not specify, several different ports, in your sip.conf? You can have Asterisk listen on port 5060, 5061, 7080 etc as many as you want; just make sure the port is not taken by some other application. I have 8-phone lines (on sip.conf) and asterisk is listening each line on a different port. -- #Joseph On Tue, 2006-11-28 at 22:19 -0500, lists@infoway.net wrote:> We have many clients who live in third world countries where the ISPs > purposely block traffic on port 5060. > > I know we could always change the listening port in our Asterisk box. > However, doing so will affect all our other users who use port 5060 with > no problems. > > Is there any other solution? I guess I could always run a second instance > of Asterisk listening on another port, but is that the cleanest and most > scalable solution? > > Thanks