Asterisk Configuration Example - Direct IP

If you are using a direct-IP account for your SIP termination - simply use the configuration example shown below to route your calls across to Neural via direct IP. Replace any instances of (TrunkNo) with your trunk username (eg. 09XXXX)

 

[cr0]
type=friend
disallow=all
allow=alaw
context=inbound
host=cr0.sip.neural.net.au
qualify=1000
dtmfmode=rfc2833
canreinvite=yes
insecure=port,invite
fromuser=(TrunkNo)

[cr1]
type=friend
disallow=all
allow=alaw
context=inbound
host=cr1.sip.neural.net.au
qualify=1000
dtmfmode=rfc2833
canreinvite=yes
insecure=port,invite
fromuser=(TrunkNo)

 

It's important to note that we're adding two addresses, CR0 and CR1.   One of these clusters will be assigned as your primary for inbound calls (you will receive calls from this peer), but either can be used for outbound calling.  In the event of a fail over on Neural's infrastructure you may start to see your inbound calls coming from the alternate peer.

We recommend the use of dialplan logic (in extensions.conf) to route your outbound calls via the alternate peer to your inbound calls (in most cases CR1) then fail over to your primary (inbound) peer in the event of unreachability.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk