[Asterisk-Users] different IAX ports for different contexts

dean collins dean at collins.net.pr
Wed Feb 2 17:00:02 MST 2005


I have a problem with my asterisk at home installation (configured with
AMP)

 

My question is this, can you have different ports for different contexts
within IAX?

 

[Faktortel]

port = 5036 ; Port to bind to

bindaddr = 0.0.0.0 ; Address to bind to

context = default ; Default for incoming calls

allow=all ; Allow all codecs

register => XXXXX:XXXXX at iax.faktotel.com/EXTEN

 

[iax.faktortel.com]

type=user

username=xxxx

secret=xxxx

host=iax.faktortel.com

nat=yes

canreinvite=no

 

[iax.faktortel.com]

type=peer

host=iax.faktortel.com

context=default

nat=yes

canreinvite=no

 

 

 

[Iaxtel]

port = 4536 ; Port to bind to

bindaddr = 0.0.0.0 ; Address to bind to

context = default ; Default for incoming calls

allow=all ; Allow all codecs

register => XXXXX:XXXXX at iax.iaxtel.com/EXTEN

 

[iax.iaxtel.com]

type=user

username=xxxx

secret=xxxx

host=iax.iaxtel.com

nat=yes

canreinvite=no

 

[iax.iaxtel.com]

type=peer

host=iax.iaxtel.com

context=default

nat=yes

canreinvite=no

 

 

 

 

basically the Iaxtel operates on a different port number.

 

Is this possible? Really appreciate some help here.

 

TIA,

Dean

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050202/e8a7731f/attachment.htm


More information about the asterisk-users mailing list