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