Asterisk
0
Вклад в тег
[asterisk2]
host=IP_ADDRESS_1
type=friend
context=from-iax
qualify=yes
disallow=all
allow=alaw
allow=h261
allow=h263
allow=h263p
insecure=invite,port
canreinvite=no
nat=no
[asterisk3]
host=IP_ADDRESS_2
type=friend
context=from-iax
qualify=yes
disallow=all
allow=alaw
allow=h261
allow=h263
allow=h263p
insecure=invite,port
canreinvite=no
nat=no
[from-iax]
exten => _1XX,n,DIAL(SIP/${EXTEN},,m)
[from-iax]
exten => _2XX,n,DIAL(SIP/${EXTEN},,m)
[from-iax]
exten => _3XX,n,DIAL(SIP/${EXTEN},,m)
[external]
exten => _2XX,1,Dial(SIP/asterisk2/${EXTEN},,m)
exten => _3XX,1,Dial(SIP/asterisk3/${EXTEN},,m)
[external]
exten => _1XX,1,Dial(SIP/asterisk1/${EXTEN},,m)
exten => _3XX,1,Dial(SIP/asterisk3/${EXTEN},,m)
Для исходящих 3-го сервера:[external]
exten => _1XX,1,Dial(SIP/asterisk2/${EXTEN},,m)
exten => _2XX,1,Dial(SIP/asterisk3/${EXTEN},,m)