Asterisk Configuration Example

To configure asterisk 1.2, 1.4, 1.6 or 1.8 to connect to Control Networks' termination services, please use the following sample configuration:

 

1. Open /etc/asterisk/sip.conf

 

2. Under the [general] header add the following line:

register => 09XXXX:PASSWORD@cr0.sip.neural.net.au

Replacing 09XXXX with your username and PASSWORD with your password.  This is only required when using SIP registration - if you are using a direct IP trunk then this step should be skipped.

 

3. Add the following section to the bottom of the config file:

[09XXXX]
type=peer
disallow=all
allow=alaw
context=incoming
host=sip.neural.net.au
username=09XXXX
secret=PASSWORD

Replacing 09XXXX with your username and PASSWORD with your password.

 

Account type note:

It's important to ensure that the account your Asterisk box is using is configured as a trunk.  Check the KB for more information on how to do this.

 

Choosing codecs:

Alaw has better sound quality and jitter tolerance, however it uses more bandwidth than some alternatives (although still very little).  

g729 has better compression and allows more concurrent calls, however a license for the G729 codec may be required.  It is important to note that sound quality may be noticably degraded using this codec.

Ulaw may also be used if preferred, however our network native format is alaw - thus ulaw will be transcoded into alaw when it enters the network. 

 

Server Address:

Server Address Description
cr0.sip.neural.net.au Voice cluster 0 (primary)
cr1.sip.neural.net.au Voice cluster 1 (secondary)
sip.neural.net.au Load balancer between cr0 and cr1

We recommend registering to cr0.sip.neural.net.au when using SIP registration.  

When using direct IP you will need to allow both cr0 and cr1 and should send outbound calls to sip.neural.net.au by default.

  • 10 Users Found This Useful
Was this answer helpful?

Related Articles

Asterisk Configuration Example - Direct IP

If you are using a direct-IP account for your SIP termination - simply use the configuration...

How many simultaneous calls can I send or receive?

Control Networks does not currently place any limitation on the number of inbound or outbound...

Bria for iPhone and Android - Manual Configuration

Please follow these steps to manually attach your mobile's Bria client to your Control Networks...

Firewall Requirements for Business VoIP

To ensure proper operation, your firewall device on the connection your handsets are using to...

Asterisk Anonymous Caller ID

In order to send private calls outbound from your Business VoIP or Wholesale trunk, you will need...