Setup information for other versions:
Asterisk Admin Gui version 15
Asterisk Admin Gui version 12
Asterisk Admin Gui version 2.11
|
GENERAL INFORMATION |
|
Asterisk Admin GUI is an open source interface for configuring the Asterisk PBX server. The Asterisk Admin GUI interface can vary slightly depending on which distribution you use. This may be directly from the Asterisk Admin GUI website or through one of the major Asterisk distributions such as trixbox, Elastix, PBX in a Flash, etc...
With Asterisk Admin GUI you are able to configure most of Asterisk's options without editing the individual configuration files. You can also setup advanced options such as call routing, voicemail, and other calling features in a more manageable interface. Below we provide some resources you can visit to obtain further information.
Please note, Callcentric is not responsible for preventing unwanted physical or remote access to your IP PBX. If your IP PBX is compromised, you will be responsible for all associated damages.
Please be sure to read this guide regarding securing your IP PBX solution.
|
|
RESOURCES |
|
Websites
Elastix
PBX-in-a-Flash
Help / Support
Asterisk entry via Voip-info
Elastix support
PBX-in-a-Flash support
|
|
Configuring Asterisk PBX (chan_sip) using the Asterisk Admin GUI interface |
|
Here we will configure Asterisk through the Asterisk Admin GUI administrative interface to properly route both incoming and outgoing calls to and from Callcentric. This guide assumes that you have installed Asterisk Admin GUI using either the Asterisk Admin GUI package (or distro), Elastix, IncrediblePBX or a method of your choice. This guide also assumes that the Asterisk Admin GUI install steps were completed properly and that you have administrative access to the Asterisk Admin GUI administration interface.
This guide is based on version 13.0.113 of the Asterisk Admin GUI (running Asterisk 13.7.1)
We recommend that you read each step through in its entirety before performing the action(s) indicated in the step.
We also recommend that you check which version of Asterisk your PBX is based on; as there are many significant changes between each revision of Asterisk. To check which version your PBX is based on; please log into your PBX's command line interface and execute the command "show version" or "core show version", and you should see an output similar to the following:
Asterisk 13.5.0 built by root @ server on a i686 running Linux on 2015-08-10 13:54:19 UTC
|
| |
STEP 1 |
Trunk Configuration |
|
In the context of this guide a trunk is used to route calls between your Asterisk PBX and your desired VSP (Voice Service Provider), in this case Callcentric. To configure a SIP Trunk, please proceed with the following:
- Login to Asterisk Admin GUI administrative interface
- From the navigation bar at the top of the page, click on Connectivity >> Trunks
- Click the Add Trunk button that is located in the middle of page, and select Add SIP (chan_sip) Trunk from the drop down menu
- In the General section, locate the Trunk Name option, and specify callcentric in the given field
- Click on the SIP Settings tab, and click on the Outgoing sub-section tab
- Locate the Trunk Name option, and specify callcentric in the given field
- Copy and paste the following into the PEER Details field.
context=from-pstn-toheader
fromdomain=sip.callcentric.net
fromuser=1777MYCCID
host=sip.callcentric.net
insecure=port,invite
secret=SUPERSECRET
type=peer
defaultuser=1777MYCCID
disallowed_methods=UPDATE
directmedia=no
videosupport=no
disallow=all
allow=ulaw
- Click on the Incoming sub-section tab
- Enter your Register string in this format:
1777MYCCID:[email protected]
*** Where 1777XXXXXXX is either the default extension 1777MYCCID OR 1777MYCCIDEXT, where 1777MYCCID is the 1777 number assigned to you by Callcentric and EXT is the three digit extension you are trying to register this UA to.
*** Where SUPERSECRET is your extension SIP Password here. Your extension SIP password is the password you created for the extension you are trying to use. You may edit the SIP password you wish to use in by logging into your My Callcentric account and clicking on the Extension menu link and then modifying the appropriate extension.
- Click on Submit Changes to add your new SIP trunk to your Asterisk server
- Click on the Apply Config button at the top of the screen to apply the changes you've just made
- From the navigation menu, click on Settings >> Asterisk SIP Settings
- From the sub section General SIP Settings, locate the option Allow Anonymous Inbound SIP Calls, and set this option to No
- Click on Submit Changes to save your changes
- Click on the Apply Config button at the top of the screen to apply the changes you've just made
- From the sub-menu bar, click on Chan SIP Settings tab
- Locate the option Allow SIP Guests, and set this option to No
- Locate the option SRV Lookup, and set this option to Yes
- Locate the option Other SIP Settings, and use the following settings:
sendrpid = yes
trustrpid = no
disallowed_methods = UPDATE
session-timers = refuse
- Click on Submit Changes to save your changes
- Click on the Apply Config button at the top of the screen to apply the changes you've just made
- From the navigation bar at the top, visit the Admin >> Config Editor (this assumes that you've installed the Config Editor module on your Asterisk Admin GUI installation. If you have not installed it, you can install it by visiting the Admin >> Module Admin configuration page)
- On the left pane, locate the file labeled sip_custom_post.conf and copy and paste the following into that file:
[callcentric1](callcentric);
host=alpha1.callcentric.com
[callcentric2](callcentric);
host=alpha2.callcentric.com
[callcentric3](callcentric);
host=alpha3.callcentric.com
[callcentric4](callcentric);
host=alpha4.callcentric.com
[callcentric5](callcentric);
host=alpha5.callcentric.com
[callcentric6](callcentric);
host=alpha6.callcentric.com
[callcentric7](callcentric);
host=alpha7.callcentric.com
[callcentric8](callcentric);
host=alpha8.callcentric.com
[callcentric9](callcentric);
host=alpha9.callcentric.com
[callcentric10](callcentric);
host=alpha10.callcentric.com
[callcentric11](callcentric);
host=alpha11.callcentric.com
[callcentric12](callcentric);
host=alpha12.callcentric.com
[callcentric13](callcentric);
host=alpha13.callcentric.com
[callcentric14](callcentric);
host=alpha14.callcentric.com
[callcentric15](callcentric);
host=alpha15.callcentric.com
[callcentric16](callcentric);
host=alpha16.callcentric.com
[callcentric17](callcentric);
host=alpha17.callcentric.com
[callcentric18](callcentric);
host=alpha18.callcentric.com
[callcentric19](callcentric);
host=alpha19.callcentric.com
[callcentric20](callcentric);
host=alpha20.callcentric.com
[callcentricB1](callcentric);
host=bravo01.callcentric.net
[callcentricB2](callcentric);
host=bravo02.callcentric.net
[callcentricB3](callcentric);
host=bravo03.callcentric.net
[callcentricB4](callcentric);
host=bravo04.callcentric.net
[callcentricB5](callcentric);
host=bravo05.callcentric.net
[callcentricB6](callcentric);
host=bravo06.callcentric.net
[callcentricB7](callcentric);
host=bravo07.callcentric.net
[callcentricB8](callcentric);
host=bravo08.callcentric.net
[callcentricB9](callcentric);
host=bravo09.callcentric.net
[callcentricB10](callcentric);
host=bravo10.callcentric.net
[callcentricB11](callcentric);
host=bravo11.callcentric.net
[callcentricB12](callcentric);
host=bravo12.callcentric.net
[callcentricB13](callcentric);
host=bravo13.callcentric.net
[callcentricB14](callcentric);
host=bravo14.callcentric.net
[callcentricB15](callcentric);
host=bravo15.callcentric.net
[callcentricB16](callcentric);
host=bravo16.callcentric.net
[callcentricB17](callcentric);
host=bravo17.callcentric.net
[callcentricB18](callcentric);
host=bravo18.callcentric.net
[callcentricB19](callcentric);
host=bravo19.callcentric.net
[callcentricB20](callcentric);
host=bravo20.callcentric.net
***** The value that you've specified in the option Outgoing settings >> Trunk Name within your trunk configuration page, must be specified within the parentheses on the settings above; so if you've used "callcentric" (all lowercase) for your Trunk Name (as presented in our example), please specify the above settings as-is. Or for example if you've specified Trunk_1 for that option, you will need to specify the following:
[callcentric1](Trunk_1);
host=alpha1.callcentric.com
[callcentric2](Trunk_1);
host=alpha2.callcentric.com
etc...
Your configurations should look similar to the screenshot below:
- Click on Save to save the file above
- Click on the red button labeled Apply Config at the top of the screen to apply the changes you just made
* If you do not have the Config Editor module installed, you will need to log in to your server and edit the /etc/asterisk/sip_custom_post.conf file manually, usually with an editor such as nano.
|
STEP 2 |
Outbound Route Configuration |
|
An outbound route sends calls which are dialed in a certain pattern to your desired provider, in this case Callcentric.
- From the navigation bar, click on Connectivity >> Outbound Routes, to configure your PBX to route outgoing calls towards your Callcentric trunk
- From the sub-section Route settings, enter to-callcentric into the Route Name field
- Locate the Trunk Sequence for Matched Routes section, and select the callcentric trunk from the drop down list
- From the sub-menu bar, click on Dial Patterns
- Locate the Dial Patterns that will use this Route section, and specify the following options:
|
prepend | |
prefix | 9 |
match pattern | . |
CallerID | |
- Click on Submit Changes to add your new route to your Asterisk server
- Click on the Apply Config button at the top of the screen to apply the changes you've just made
|
STEP 3 |
Extension Configuration |
|
In this step, we'll create a local extension on your PBX. This local extension (on your PBX) provides an account number that another User Agent (software or hardware used for calling) can connect to in order to make and receive calls. There are a few types of extensions; here we will create a SIP Extension.
If you have already configured an extension then you may skip this step. Then in the next step (Inbound Route Configuration) you may use your pre-configured extension.
- From the navigation bar, and click on Applications >> Extensions to add a new extension which will connect to your Asterisk server
- From the drop-down menu, select Generic SIP device (or Add New Chan_SIP extension)
- Enter 1000 as the User Extension
- For now we will use a generic identifier for this extension. Enter First Extension for the Display Name field. Later you may enter a unique identifier of your choice
- Enter your desired password in the Secret field. You will use this password when configuring your desired UA later in order to connect to your Asterisk PBX
- Click on Submit Changes to add your new extension to your Asterisk server
- Click on the Apply Config button at the top of the screen to apply the changes you've just made
|
STEP 4 |
Inbound Route Configuration |
|
With an inbound route you are given the flexibility to send incoming calls to a wide range of destinations. For example you may route an incoming call to a specific extension, to a ring group, or to an IVR. In this section we are going to setup an inbound route which will handle ANY incoming call on ANY numbers, including emergency numbers, and simply route those calls to a specific extension (1000). Later on you can configure more complex routing schemes, such as DID Based Routing.
If you have already configured an extension then you may substitute your pre-configured extension for point 4 below.
- From the navigation bar, click on Connectivity >> Inbound Routes to configure the routing of calls to your Callcentric account.
- If there isn't a default inbound route defined already within your PBX, then click on Add Incoming Route. You will first want to fill the DID Number field with your 1777 number, or if you've acquired a phone number from us already, please use your phone number in the DID Number field (i.e. if you've acquired the number 12125551000, please use 12125551000 on this field). Make sure to leave the Caller ID Number blank in order to match any incoming call. This is useful if you wish to receive all calls
- Scroll down to the Set Destination section
- Choose First Extension (1000) from the Core drop down box
- Click on Submit Changes to add your new inbound route to your Asterisk server
- Click on the Apply Config button at the top of the screen to apply the changes you've just made
|
STEP 5 |
Configure and test UA |
|
- Choose your desired UA
- Use the IP address or hostname for your Asterisk box along with 1000 (the extension created earlier) and password for the 1000 extension to connect to your Asterisk box
- Next you will want to try placing test calls to and from your Asterisk PBX using the UA currently connected to your newly created extension (1000)
|
STEP 6 |
Placing Test Calls |
|
You can make a test call to 17771234567, or if you are signed up for one of Callcentric's rate plans you
can place a call to a traditional landline or mobile phone by dialing either:
1 + the area code and number for calls to the US
Or
011 + the country code, area code, and number for calls worldwide
(you may also use 00 instead of 011).
To test inbound calls from Callcentric to your Asterisk installation, follow the directions listed in this FAQ. |
|
|