SIP Trunk entre dos servidores Asterisk

Supongamos que el Servidor A tiene la IP 1.1.1.1 y el Servidor B tiene la IP 2.2.2.2 la configuración debe ser la siguiente:

Server A:

[ServerB]
type=friend
fromuser=ServerB
secret=password
context=from-internal
qualify=yes
host=dynamic
language=es
disallow=all
allow=gsm
allow=ulaw
allow=alaw

register => ServerA:password@2.2.2.2/ServerB

Server B:

[ServerA]
type=friend
fromuser=ServerA
secret=password
context=from-internal
qualify=yes
host=dynamic
language=es
disallow=all
allow=gsm
allow=ulaw
allow=alaw

register => ServerB:password@1.1.1.1/ServerA


Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Mason

Hola, gracias por el post. Se te agradece. Consulta: esta linea “register => ServerA:password@2.2.2.2/ServerB” la agregas dentro de la configuración del trunk o es un resumen de la conf?