[Asterisk-Dev] IAX Trunking between 2 Asterisks

duncan duncan at impede.net
Thu Oct 9 10:02:55 MST 2003


>Any one can give me some instruction on how to configure IAX trunk between
>2 Asterisks?

well ive just done it and got it working properly (i hope) thanks to 
everyone in the #asterisk channel over the past few days.  heres the configs:


ServerA

iax.conf:
-----------------------------------
[general]
port=5036
bandwidth=low
disallow=all
allow=gsm

jitterbuffer=yes
tos=lowdelay

register => trunk_demo:trunk_d3m0 at serverb

[trunk_demo]
type=friend
host=dynamic
trunk=yes
auth=md5,plaintext,rsa
secret=trunk_d3m0
username=trunk_demo
qualify=yes
context=trunk



ServerB



iax.conf
-----------------------------------
[general]
port=5036
bandwidth=low
disallow=all
allow=gsm

jitterbuffer=yes
tos=lowdelay

register => trunk_demo:trunk_d3m0 at servera

[trunk_demo]
type=friend
host=dynamic
trunk=yes
auth=md5,plaintext,rsa
secret=trunk_d3m0
username=trunk_demo
qualify=yes
context=trunk

extensions.conf
-----------------------------------
exten => _X.,1,Dial,IAX2/trunk_demo:trunk_d3m0 at servera/${EXTEN}



hope this helps


duncan




More information about the asterisk-dev mailing list