Follow

Asterisk Peering Config Orig

Primary

canreinvite=yes <---can be no if you dont support reinvites
context=from-pstn
dtmfmode=rfc2833
host=192.81.237.20 <----192.81.237.20
nat=no <---configure per your network
qualify=no <---yes if you want to send options
type=peer

 

Active Backup
canreinvite=yes <---can be no if you dont support reinvites
context=from-pstn
dtmfmode=rfc2833
host=192.81.236.20 <----192.81.236.20
nat=no <---configure per your network
qualify=no <---yes if you want to send options
type=peer

 

If you are behind a firewall using NAT

[thinq]
type=endpoint
transport=transport-udp
context=inbound
disallow=all
allow=ulaw
aors=thinq

[thinq]
type=aor
contact=sip:192.81.236.20:5060
contact=sip:192.81.237.20:5060
qualify_frequency=15

[thinq]
type=identify
endpoint=thinq
match=192.81.236.20
match=192.81.237.20

[global]
keep_alive_interval=20

[general]

[transport-udp]
type = transport
local_net = 192.168.1.0/24
external_media_address = xxx.xxx.xxx.xxx
external_signaling_address = xxx.xxx.xxx.xxx
external_signaling_port = 5060
protocol = udp
bind = 0.0.0.0

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk