How to peer two asterisk servers using IAX?
rodriguezrayen 20-August-2008 03:31:58 PM

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



Posted: 21-August-2008 01:04:53 PM By: adalson007

http://astrecipes.net/index.php?from=1&q=AstRecipes/Peering%20two%20Asterisk%20servers%20using%20IAX

Posted: 27-August-2008 07:52:31 AM By: sagitraz

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)