Asterisk or FreePBX is an open source server based PBX system. It is widely use because its flexibility and lower cost. AlienVoIP is running on SIP protocol, hence it can be connect to any Asterisk based system.
By utilizing AlienVoIP SIP account, the Asterisk/FreePBX is able to make calls to PSTN network, which includes all mobile operators and fixed lines.
By using AlienVoIP SIP trunking in Asterisk, the whole office will benefit from low cost communication while maintaining the voice quality. At the same time, the Asterisk PBX can be configure with dial plan to suit with the environment’s requirements. For instance, some calls are directed to AlienVoIP (specially oversea calls) and some are still using local provider.
Before attempting to configure your Asterisk server, make sure that you are registered to AlienVoip and your account is activated with credits and at least 1 SIP username.
Please refer HERE for a comprehensive guide for creating an account with AlienVoip
The guide below assumes that you have an Asterisk server already running and have completed the necessary steps mentioned above and agreed to our terms and conditions.
Configure your sip.conf file, by default, the file is located in /etc/asterisk/sip.conf
; Register your AlienVoip SIP username and password to AlienVoip’s SIP server
register => 605600110:password:email@example.com:5060/605600110
; Setup an account
[alienvoip] ; Give your gateway a meaningful name
port=5060 ; AlienVoip uses port 5060 for voip authentication
type=friend ; Set this to friend
secret=password ; This is your password for your SIP username
username=605600110 ; This is your SIP username
fromuser=605600110 ; This is your SIP username
host=sip1.alienvoip.com ; This is where AlienVoip’s sip registration server is located
nat=yes ; Depending on your network condition, if your Asterisk is located behind a router,
; set it to yes, if your asterisk server has a public IP of its own, set it to no
context=INCOMING ; If your asterisk server allows incoming AlienVoip to AlienVoip calls, give
; this a meaningfull context
disallow=all ; First disallow all codecs
allow=ilbc ; Allow codecs in order of preference
; see doc/rtp-packetization for framing options
 ; Register an account for your SIP client
Configure your extension.conf file to use the SIP user you have just defined in sip.conf, by default, the file is located in /etc/asterisk/extensions.conf
The example above is a general view of a basic dialplan in Asterisk, you can configure your dialplan to suit your need in your production server.
Once you have done all necessary configurations above, your server is ready to make calls to AlienVoip
Please contact our team if you need any support to configure SIP trunk at your PBX.