Thursday, August 16, 2012

Connect two Asterisk Server with IAX2 protocol

Connect dual Asterisk Server with IAX2


Here is the settings for both server.
--------------------------------------------------------------------------
Server A
--------------------------------------------------------------------------
[serverB-peer]
host=192.168.10.10
username=serverA-user
secret=pass
type=peer
qualify=yes
trunk=yes
context=from-trunk-iax2-serverB-peer

[serverB-user]
secret=pass
type=user
context=from-trunk


--------------------------------------------------------------------------
Server B
--------------------------------------------------------------------------
[serverA-peer]
host=192.168.10.250
username=serverB-user
secret=pass
type=peer
qualify=yes
trunk=yes
context=from-trunk-iax2-serverA-peer

[serverA-user]
secret=[ass
type=user
context=from-trunk