Zeeshan Zakaria
2006-Nov-23 04:18 UTC
[asterisk-users] How to change IAX default port 4569 to some other port
Hi all, All of a sudden all my IAX DIDs have gone down. I couldn't find any reason other than that the ISP is blocking port 4569. DIDs register fine from my home server, but not from office server, which is not behind any NAT. SIP registers fine. I am trying to change IAX port but it apparantly IAX works only on 4569. Changing it in iax.conf doesn't do anything. Changing it is registration string also doesn't help. How can I make IAX work on some other port? -- Zeeshan A Zakaria -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061123/87076165/attachment.htm
Tim Panton
2006-Nov-24 02:17 UTC
[asterisk-users] How to change IAX default port 4569 to some other port
On 23 Nov 2006, at 11:18, Zeeshan Zakaria wrote:> Hi all, > > All of a sudden all my IAX DIDs have gone down. I couldn't find any > reason other than that the ISP is blocking port 4569. DIDs register > fine from my home server, but not from office server, which is not > behind any NAT. SIP registers fine. I am trying to change IAX port > but it apparantly IAX works only on 4569. Changing it in iax.conf > doesn't do anything. Changing it is registration string also > doesn't help. How can I make IAX work on some other port?I think that the bindport setting in iax.conf is ignored on reload, you have to stop and start asterisk for it to take effect. If that doesn't do the trick, you will have to write some tricksy iptables port mapping rules for 4569 Tim Panton www.mexuar.net www.westhawk.co.uk/
William Piper
2006-Nov-24 21:07 UTC
[asterisk-users] How to change IAX default port 4569 to some other port
Something like this should work in your iptables: iptables -A PREROUTING -t nat -p tcp --dport 1234 -i eth0 -j DNAT --to-destination 127.0.0.1:4569 iptables -I FORWARD 1 -d 127.0.0.1 -p tcp --dport 4569 -j ACCEPT This would forward port 1234 to port 4569. bp On 11/23/06, Zeeshan Zakaria <zishanov@gmail.com> wrote:> > Hi all, > > All of a sudden all my IAX DIDs have gone down. I couldn't find any reason > other than that the ISP is blocking port 4569. DIDs register fine from my > home server, but not from office server, which is not behind any NAT. SIP > registers fine. I am trying to change IAX port but it apparantly IAX works > only on 4569. Changing it in iax.conf doesn't do anything. Changing it is > registration string also doesn't help. How can I make IAX work on some other > port? > > -- > Zeeshan A Zakaria > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com <http://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/20061124/98de8850/attachment.htm
Seemingly Similar Threads
- Suggestions for reliable DID provider for Canada, USA and Europe
- Re: How to change IAX default port 4569 to some other port :Debug Message Attached
- How to do Automatic Daylight Saving on Grandstream GXP-2000
- 705 DIDs for Collingwood Ontario?
- Recommendation for a new server