Comments
Here i’d like to share my settings for the IAX trunk at both ends:
ServerA ——–
;iax.conf
[ServerB]
type=peer
host=ServerB.my-domain.com
username=ServerA
secret=ServerA-pass
disallow=all
allow=ulaw
[ServerB]
type=user
secret=ServerB-pass
disallow=all
allow=ulaw
Dial(IAX2/ServerB/${EXTEN}@context)
ServerB ——–
;iax.conf
[ServerA]
type=peer
host=ServerA.my-domain.com
username=ServerB
secret=ServerBpass
disallow=all
allow=ulaw
[ServerA]
type=user
secret=ServerA-pass
disallow=all
allow=ulaw
Dial(IAX2/ServerA/${EXTEN}@context)
Posted by sagitraz
http://astrecipes.net/index.php?from=1&q=AstRecipes/Peering%20two%20Asterisk%20servers%20using%20IAX
Posted by adalson007