Supported devices
ATA Adaptors
IP Phones
Cordless IP Phones
IP Conference Phones
IP PBX Software/Hardware
Desktop Softphones
Mobile Softphones

Security considerations for Callcentric customers

3CX
3CX Version 6
3CX Version 12
3CX Version 12.5
3CX Version 15
3CX Version 16
3CXPhone (for Windows)
3CXPhone (Mobile)
Aastra 6753i
Acrobits/Groundwire for iPhone
Android SIP Client
Apivio MWP1100
Asterisk 1.4 and 1.2
Asterisk 1.6
Asterisk 1.6.2, 1.8, and 10
Asterisk 14
Asterisk 17 CHAN_SIP (Vanilla)
Asterisk 17 PJSIP (Vanilla)
Asterisk Admin GUI v2.11
Asterisk Admin GUI v12
Asterisk Admin GUI v13
Asterisk Admin GUI v15
Bria Solo
Bria Desktop
Bria Mobile
Callcentric Android Click2Dial App
Callcentric iPhone Click2Dial App
Callcentric Softphone
Cisco ATA 186/188
Cisco SPA112/SPA122
CloudTC Glass 1000
CSipSimple
D-Link DVG-1402S
Ekiga
Elastix
Gigaset A510 IP
Gigaset C610A IP
Gigaset DX800A
Grandstream DP715/710
Grandstream DP750/720
Grandstream DP752/730/722
Grandstream GAC2500
Grandstream GRP2612
Grandstream GRP2613
Grandstream GRP2614
Grandstream GRP2615
Grandstream GXP1450
Grandstream GXP1620
Grandstream GXP1625
Grandstream GXP1630
Grandstream GXP1760
Grandstream GXP1782
Grandstream GXP2110
Grandstream GXP2130
Grandstream GXP2140
Grandstream GXP2160
Grandstream GXP2170
Grandstream GXP2200
Grandstream GXV3140
Grandstream GXV3240
Grandstream GXV3275
Grandstream GXV3370
Grandstream GXV3380
Grandstream HandyTone 286
Grandstream HandyTone 486
Grandstream HandyTone 702
Grandstream HandyTone HT802
Grandstream HandyTone HT814
Grandstream HandyTone HT818
Grandstream UCM6102
Grandstream UCM6204
Grandstream Wave
Grandstream WP820
Htek UC803
Htek UC860
Htek UC924
Htek UC926
Innomedia SIP MTA-6328
Jitsi
Linksys PAP2
Linksys SPA3102
Linphone Desktop (v4.1.1)
Linphone Desktop (v3.4.3)
Linphone Mobile
Linphone Mobile (v.3.2.3)
NCH Axon PBX
NCH Express Talk
Nokia E90
Obihai
OBi100/110
OBi200/202
OBi1032
pbx-in-a-flash
pbxnsip
pbxnsip Version 3
PhonerLite
Polycom SoundPoint IP 601
Polycom SoundStation IP 5000
snom 1xx/2xx/3xx
snom 820
snom D717
snom D735
snom D785
snom M9
snom ONE
SFLphone
SJphone
Telco AC-211
trixbox / Elastix / pbx-in-a-flash
Twinkle
Windows Messenger
Unidata ICW1000G
Uniden EXP1240
UTStarcom F3000
VitalPBX
Vodia PBX (v5)
Vodia PBX (v64.0)
VTech VCS754
VTech VDP650
VTech VSP600
VTech VSP725
VTech VSP726
VTech VSP735
VTech VSP736
X-Lite / X-Pro / eyeBeam
Yealink T32G
Yealink T41S
Yealink T42G
Yealink T42S
Yealink T46G
Yealink T46S
Yealink T48S
Yealink W52P
Yeastar MyPBX U100
ZoIPer
ZoIPer 3.2
ZoIPer 5
ZoIPer Mobile
Zoom 5801
Zycoo CooVox U20
Other Linksys/Sipura products
Generic / Other Device

DID-Based Routing with Asterisk
DID-Based Routing with trixbox / Asterisk Admin GUI / Elastix / PBX-in-a-Flash
Asterisk Admin GUI v15

Setup information for other versions:
Asterisk Admin Gui version 13
Asterisk Admin Gui version 12
Asterisk Admin Gui version 2.11


GENERAL INFORMATION
Tree FrogAsterisk Admin GUI is an open source interface for configuring the Asterisk PBX server. This software can be attained directly from the Asterisk Admin GUI Website or through one of the major Asterisk distributions (trixbox, Elastix, PBX in a Flash, etc). The actual interface can vary slightly, based on the specific distribution you choose.

With Asterisk Admin GUI you are able to configure most of Asterisk's options without editing the individual configuration files. Below is a basic setup guide, as well as links to several resources that you can use to assist you in configuring your system. Due to the complexity and dynamic nature of the Asterisk Admin GUI Platform, unfortunately we cannot assist in fully customizing your install.

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
Asterisk Admin GUI

Help / Support
Asterisk Support Page
Asterisk Forum
Asterisk Wiki
Broadband Reports VoIP Forum


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/from Callcentric. The information in this guide is based on Version 15.0.16.61 of the Asterisk Admin GUI (running Asterisk 16.6.2). This guide assumes that you've successfully installed Asterisk Admin GUI and that you have access to the administrative web interface.

We recommend reading each step through in its entirety before performing the action(s) indicated within the step.

We also recommend checking which version of Asterisk your PBX is based on, as there are significant differences between each revision. 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. In doing so, you should see an output similar to the following:

Asterisk 16.6.2 built by mockbuild @ jenkins7 on a x86_64 running Linux on 2019-11-22 00:56:40 UTC

STEP 1 Trunk Configuration
In this section we'll configure a SIP trunk for your Callcentric Account on your Asterisk PBX.

  1. Login to the Asterisk Admin GUI administrative interface

  2. From the navigation bar at the top of the page, click on Connectivity >> Trunks

  3. Click the Add Trunk button on the middle of page, and select Add SIP (chan_sip) Trunk from the drop-down menu.

  4. In the General section, locate the Trunk Name option and specify callcentric on the given field

  5. Click on the SIP Settings tab, followed by the Outgoing sub-section tab

  6. Locate the Trunk Name option, and specify callcentric on the given field

  7. Copy/paste the following into the PEER Details field

    context=from-pstn-toheader
    fromdomain=callcentric.com
    fromuser=1777MYCCID
    host=callcentric.com
    insecure=port,invite
    secret=SUPERSECRET
    type=peer
    defaultuser=1777MYCCID
    disallowed_methods=UPDATE
    directmedia=no
    videosupport=no
    disallow=all
    allow=ulaw
    


  8. Click on the Incoming sub-section tab

  9. Enter your Register string in this format:

    1777MYCCID:SUPERSECRET@callcentric.com
    


    Note: Any instance of 1777MYCCID should be replaced with the 1777 number assigned to you by Callcentric. EXT is the three digit extension you are trying to register this UA to.

    For example: 17770001234101 would register to "extension 101" on account "17770001234". However, if you are registering towards the main/default extension of your Callcentric Account (extension 100), you can simply use your 1777 number without the 3 digit extension suffix (example: 17770001234). You CANNOT register to your Callcentric Account by only using the extension number; the full 1777 number ALWAYS needs to be included

    Also, be sure to replace SUPERSECRET with your Extension's SIP Password. Your Extension's SIP Password is the password you created for the extension you are trying to use. You can edit your Extension's SIP Password by logging into your Callcentric Account and clicking on the Extension menu link and then selecting the extension you would like to update.

  10. Click on Submit Changes to add your new SIP trunk to your Asterisk server

  11. Click on the Apply Config button at the top of the screen to apply the changes you've just made







  12. From the navigation menu, click on Settings >> Asterisk SIP Settings

  13. From the General SIP Settings sub-section, locate the options Allow SIP Guests and Allow Anonymous Inbound SIP Calls and set them both to No

  14. Click on Submit Changes to save your changes

  15. Click on the Apply Config button at the top of the screen, to apply the changes you've just made



  16. From the sub-menu bar, click on SIP Legacy Settings [chan_sip] tab

  17. Locate the option SRV Lookup, and set it to Yes

  18. Locate the option Other SIP Settings, and use the following settings:

    sendrpid = yes
    trustrpid = no
    disallowed_methods = UPDATE
    


  19. Click on Submit Changes to save your changes

  20. Click on the Apply Config button at the top of the screen, to apply the changes you've just made



  21. From the navigation bar at the top of the page, select Admin >> Config Editor (this assumes that you have installed the Config Editor module on your Asterisk Admin GUI installation. If you haven't installed the Config Editor module, you can do so by visiting the Admin >> Module Admin configuration page)

  22. On the left pane, locate the file labeled sip_custom_post.conf and copy/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
    


    ***** The value that you've specified on the option Outgoing settings >> Trunk Name within your trunk configuration page, must be included within the parentheses on the settings above. For example, if you've specified callcentric (all lowercase) as presented above; please specify the above settings as-is. To further illustrate, if you've specified Trunk_1 for that option, you will need to include the following:

    [callcentric1](Trunk_1);
    host=alpha1.callcentric.com
    
    [callcentric2](Trunk_1);
    host=alpha2.callcentric.com
    
    etc... 
    

    Your configuration should look similar to the screenshot below:



  23. Click on Save to save the file above

  24. Click on the red Apply Config button 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 login 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.

  1. From the navigation bar, click on Connectivity >> Outbound Routes, to configure your PBX to route outgoing calls towards your Callcentric trunk

  2. From the sub-section Route settings, enter to-callcentric in the Route Name field

  3. Locate the Trunk Sequence for Matched Routes section, and select the callcentric trunk from the drop-down list



  4. From the sub-menu bar, click on Dial Patterns

  5. Locate the Dial Patterns that will use this Route section, and specify the following options:

    prepend
    prefix9
    match pattern.
    CallerID


  6. Click on Submit Changes to add your new outbound route to your Asterisk server

  7. 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. Here we will create a SIP Extension.

If you have already configured an extension, you may skip this step. Then in the next step (Inbound Route Configuration) you may use your pre-configured extension.

  1. From the navigation bar, click on Applications >> Extensions to add a new extension which will connect to your Asterisk server

  2. From the drop-down menu, select Add New SIP (Legacy) [chan_sip] Extension

  3. Enter 1000 as the User Extension

  4. 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

  5. Enter your desired password in the Secret field. You will use this password when configuring your desired UA, in order to connect to your Asterisk PBX

  6. Click on Submit Changes to add your new extension to your Asterisk server

  7. 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 can route an incoming call to a specific extension, a ring group, or an IVR.

In this section we are going to setup an inbound route which will handle ANY incoming call on ANY number (including emergency numbers), and simply route those calls to a specific extension (1000). At a later point, 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.

  1. From the navigation bar, click on Connectivity >> Inbound Routes to configure the routing of calls to your Callcentric account.

  2. If there isn't a default inbound route already defined within your PBX, click on Add Incoming Route to create a new one. In the DID Number field enter either your 1777 number OR a phone number that you've activated to your Callcentric Account (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.

  3. Scroll down to the Set Destination section and choose First Extension (1000) from the Core drop-down box

  4. Click on Submit Changes to add your new inbound route to your Asterisk server

  5. 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
  1. Choose your desired UA

  2. To connect to your Asterisk box, use the IP Address (or hostname) for your server in conjunction with "1000" (the extension created earlier) and the password for the "1000 extension"

  3. Next, you will want to try placing test calls to/from your Asterisk PBX using the UA currently connected to your newly created extension (1000)

IMPORTANT NOTE: By default the chan_sip driver listens on port 5160. If you've created extensions that are using the chan_sip driver, you will have to specify <IP ADDRESS/DOMAIN of PBX>:5160 as the registration server. For example, if your PBX has the IP address 192.168.1.12; you will need to use 192.168.1.12:5160 as the SIP registration server for your UA.

If you have changed the default listen port for the chan_sip driver OR if you would like to double-check which port it's listening on; please visit the Asterisk SIP Settings >> Chan_SIP Settings configuration page and review the option Bind Port.
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.