[asterisk-users] IAX trunk two Asterisk

bakko asannucci at gmail.com
Fri Nov 26 07:29:35 CST 2010


Hello,

maybe is a stupid question but I'd like know if I'm doing some mistake on 
IAX trunk configuration.

I have two Asterisk (1.6.2.14) with this configuration:

A (iax.conf)

register => serverb:password at 192.168.142.246

[servera]
type=friend
host=dynamic
trunk=yes
secret=password
context=phones
deny=0.0.0.0/0.0.0.0
permit=192.168.142.246/255.255.255.255
qualify=yes

B (iax.conf)

register => servera:password at 192.168.159.4

[serverb]
type=friend
host=dynamic
trunk=yes
secret=password
context=phones
deny=0.0.0.0/0.0.0.0
permit=192.168.159.4/255.255.255.255
qualify=yes

The password it's the same on two server.

If i use two differents passwords (one for servera and one for serverb), the 
trunk don't work (Call rejected No authority found)

On the iax.conf general I have:

calltokenoptional=0.0.0.0/0.0.0.0

Am I doing wrong something?

Thank you for support

Best Regards.

- Bakko 




More information about the asterisk-users mailing list