3CX is a great PBX system which allows you to turn almost any computer into a PBX without the need to know any command line parameters.
3CX has a security section, why do I need PBX Shield?
You may have noticed that 3CX has a section in it’s settings that give you the ability to protect yourself from DDOS, DOS and a few other attacks on your extensions. Additionally, and with great respect from us here at PBX Shield, they also allow you to limit your calls to certain destinations. Clearly the people at 3CX know their stuff and you should use their security measures in their entirety.
PBX Shield fits into 3CX as a toll fraud defense platform. We provide additional tools that aren’t available in their security section and watch for certain events specifically relating to toll fraud and not PBX attacks. By enabling both 3CX security and adding PBX Shield, your PBX is going to be a lean mean fighting machine.
Lets get started!
- You have installed and configured 3CX PBX to work on your system and have an existing VoIP or PSTN provider working.
To configure 3CX with PBX Shield, your going to need to:
- Setup a trunk to PBX Shield
- Add the trunk to your outbound routes.
Setting up your trunk
The first thing we need to do is setup a SIP Trunk to the PBX Shield service. To do this, login to your 3CX management console. Once you are logged in, on the left sidebar click on SIP Trunks.
Once you have clicked on SIP Trunks you will be taken to the Sip Trunks menu where you will be given an option to add a sip trunk. Click on the Add Sip Trunk button.
Once you have clicked on Add SIP Trunk, you will be taken to the general SIP Trunk settings menu for your new SIP trunk.
Change the following in this menu:
- Enter Name For Trunk: PBX Shield
- Regisrar/Server/Gateway Hostname or IP: protect.pbxshield.com
Now we need to change TAB. At the top of the menu, you will see a TAB called Outbound Parameters. Click on this tab and you will be presented with the following menu:
On this menu we need to change just one setting.
- From: Display Name , change this too “Custom Field” in the dropdown. In the custom value put your PBX_ID that you setup in your PBX profile.
Click on “OK” at the top of the screen to add this trunk to your 3CX PBX.
Setting up your outbound rules
Now, we need to setup your outbound call route. In this example we are setting it up so that all calls we make are prefixed with a 9. E.g. Dialling the number 123456 on our PBX would mean we would dial 9123456 on our phone.
You can also add PBX Shield to any existing route in the same way.
To change your outbound rules, select Outbound Rules from the left sidebar menu.
Choose your existing outbound rule that you are using for your provider. In this case, we are using “My Outbound”, and we simply click on that.
Once we have clicked on our outbound rule, we will be presented with the outbound rules menu.
To add PBX Shield to your outbound rules, simply scroll down to Make outbound calls on and as the first route, add the trunk you added called PBX Shield. Making sure to match the strip digits that you have on your existing provider. E.g. If you strip 1 digit to send to your provider, make sure PBX Shield also strips 1 digit. The same is the case with any prefixing of numbers.
Click on the OK button at the top of the screen to save your changes and wait a minute for 3CX to accept those changes.
Congratulations! You have setup PBX Shield on 3CX. Now would be a good time to test that everything is working. To do this please follow our testing guide.