Sure enough, I just added "bindport=4563" and it changed. I could swear I tried the same thing on an older node about 6 mos ago and it just stayed on 4569 when looking at it via netstat. I wonder if the new iax code has something to do with it. Thanks for the info. Steve On 6/28/2010 20:11, Jim Duuuude wrote:
ahhh no.. just specifing bindport should do the trick. Then you need to tell us so that we can make the database aware of this.
Date: Mon, 28 Jun 2010 19:55:35 -0700 From: k6kya@hokeynet.net To: app_rpt-users@qrvc.com Subject: Re: [App_rpt-users] Port 4569 question - Multiple asterisk servers behind NAT ?
I believe you need to change the default port number in iax2.h and recompile asterisk in order to change the port. Registration will automatically pick up that it's running on a port other than 4569.
The following line is what you want to change #define IAX_DEFAULT_PORTNO 4569
You can't just rely on juggling ports via your NATrouter.
Steve
On 6/28/2010 19:31, Stephen Rodgers wrote:
Neil Addis (WA5JXY) wrote:
I searched the archives (& google) for an answer to this. I've tried everything I can on this end (other than replacing the router). Anyone else have any insight?
I have two Asterisk servers running app_rpt, each with it's own node #.
One of them I have default port forwarding 4569 to the pc ip. Everything works great!
The other I set up with different ip, and used port forward (4563) to it's ip. I then set my iax.conf to append the non-standard port to the registration statement as follows;
register=Anodenum:password:4563@register.allstarlink.org
I then checked the /var/lib/asterisk/rpt_extnodes to see if my non-standard port is listed, but even after 24 hours it still shows 4569.
I tried bindport=4563 to no avail. I also tried bindaddr=0.0.0.0:4563 I also tried bindaddr=192.168.1.106:4563
Is it a manual thing the allstarlink sysops have to do?
Is it possible to have multiple asterisk pc's behind a single WAN ip - with port forwarding?
Thanks! Neil _______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users
In the currently used registration system it probably needs to be specially set up by a node assigner. Please send me your node off-list and I will check.
Steve WA6ZFT
_______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users
_______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users