[Asterisk-Users] IAX2 using non standard port

Dan dtoma at fx.ro
Tue Dec 16 23:25:09 MST 2003


>----- Original Message ----- 
>From: "Walker Haddock" <whaddock at datacrest.com>
>Subject: Re: [Asterisk-Users] IAX2 using non standard port
> Solution:
> edit iax2.h file and change line 73 as follows:
> #define IAX_DEFAULT_PORTNO              80    /* 4569 */
> in /usr/src/asterisk
> make clean ; make install
> in iax.conf, in the register record, append the port number of the peer:
> register => user:password at iax.server.com:4569
> Walker

Now.... I think to something more...
What about making Asterisk to listen on multiple ports for IAX2?
Let's say for example the default 4569 and 80?
If IAX2 is to replace IAX, why the port number cannot be configured from
iax.conf file?
There is any technical reason? It is not a good ideea to make changes in the
source file for that.


More information about the asterisk-users mailing list