Configure Call-Labs with Asterisk

In order to configure Call-Labs with Asterisk, please follow the following guide:

1. EDIT SIP.CONF

First edit your sip.conf, the file can be found in /etc/asterisk/sip.conf

You can edit this file using a command like “sudo vi /etc/asterisk/sip.conf”

2. ADD SIP CONFIGURATION

Add the following at the end of the file:

[call-labs]
disallow=all
fromuser=YOUR_ACCOUNT_NUMBER
username=YOUR_ACCOUNT_NUMBER
type=peer
secret=YOUR_SIP_PASSWORD
host=voip.call-labs.com
fromdomain=voip.call-labs.com
allow=ulaw
allow=alaw
trustrpid=yes
sendrpid=yes
canreinvite=no
qualify=yes
nat=yes

Replace YOUR_ACCOUNT_NUMBER and YOUR_SIP_PASSWORD, by the SIP account provided to you from Call-Labs.

3. RELOAD ASTERISK

Remember to restart asterisk or reload it after editing the sip.conf by typing either: “sudo asterisk -rx reload”