Asterisk

Connect 2 Asterisk servers with IAX2 Trunk

Server 1 configurations

[usa-IAX]
 host=10.0.0.1
 username=panadura
 secret=RMoBaNvjZO
 type=peer
 qualify=yes
 context=from-trunk-iax2-usa-IAX
[usa-IAX_user]
 secret=RMoBaNvjZO
 type=user
 context=from-internal

Server 2 Configurations

[panadura-IAX]
 host=10.0.0.1
 username=panadura
 secret=RMoBaNvjZO
 type=peer
 qualify=yes
 context=from-trunk-iax2-panadura-IAX
[panadura-IAX_user]
 secret=RMoBaNvjZO
 type=user
 context=from-internal

Leave a Reply

Your email address will not be published. Required fields are marked *