Contact Us

Customer Access

Signup

Asterisk

9
Jan

Asterisk Files Configuration Guide

©© If you are looking to install an Asterisk PBX server, follow our tutorial here, and then come back here to configure it with SipCel.

Here we’re going to configure an Asterisk Server running in server without any Gui module, so we need to edit sip.conf and extensions.conf files.

So login in shell, or putty to your server as root, and do the following:

nano /etc/asterisk/sip.conf

So we will get open the sip.conf file, scrol down, until the end, and add the following:

Option 1: if your PBX server have statical IP (Fix IP), you may only setup the following:

[SipCel]
host=sip.sipcel.com
type=friend
qualify=no

;insecure=port,invite; if you expect to receive calls from SipCel for your DID. If you don’t have a DID, or don’t expect to receive calls from us, forget this!

Option 2: If your PBX server have dynamic IP (changeable, and NO fix IP), then you may login into asterisk server by using the following details:

[SipCel]
username=Your Sip username, whcih you can find it under the tab Sip/Iax in your web pannel, it’s NOT your web login for the customer portal
type=friend
secret=Your Sip secret, whcih you can find it under the tab Sip/Iax in your web pannel, it’s NOT your web password for the customer portal
host=sip.sipcel.com; Or if you’re in Europe, you can use sip.sipcel.eu
fromuser=Set same as your username, above
context=sipcel ; or change for proper context
allow=ulaw,alaw
trustrpid = yes
sendrpid = yes
qualify=yes
canreinvite = no; If your Asterisk Server is v. 1.8 or later, and you have turn on directmedia in the general section of your sip.conf, you may change this entry to directmedia=yes, instead, if not, enable this directive with (yes), and forget the directmedia, as it’s unknown directive in earlier versions of asterisk.

;insecure=port,invite; if you expect to receive calls from SipCel for your DID. If you don’t have a DID, or don’t expect to receive calls from us, forget this!

If you have a DID number with SipCel, or your expect to receive calls from us, just add the string as below:

register => the_username_which_you_have_use_previously:the_secret_which_you_have_use_previously@the_host_which_you_have_use_previously

Save the sip.conf by making control+X, accept and exist.

Then setup your dialplan as desired in extensions.conf.

Don’t forget to call to 123 in SipCel to confirm your interconnection.

Remember that SipCel expect all the calls from you in 00+E164 format, what mean 00+country code+destination number, unless you have been notified a specific status, confirm with your key account manager.

Leave A Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.