1. Home
  2. Docs
  3. PBX Settings
  4. Generic Asterisk PBX (No GUI) Settings

Generic Asterisk PBX (No GUI) Settings

Asterisk forms the basis for so many great PBX systems these days, including some of the most popular platforms on the planet.

If you are using Asterisk without a GUI interface (E.g. No FreePBX, Elastix or Switchvox) then you are still able to use PBX Shield without any problems.

In fact, its very simple to setup PBX Shield on a raw Asterisk PBX system.

Lets get started!


  • You have installed Asterisk PBX from source or similar.
  • You have installed PJSip
  • You have an existing VoIP or PSTN provider connected to Asterisk.

To connect PBX Shield to Asterisk PBX is quite simple. All we are going to do is create a PJSip trunk to PBX Shield. Then we are going to create a CallerID and Dial rule in your extensions.conf file which will be called just before your regular provider.

To create your PBX Shield trunk, please enter these two blocks into your PJSIP.CONF file.






Once you have done this, save your PJSIP.CONF file.

Now open extensions.conf , if you are currently running your system with a provider in place, find the line just BEFORE your DIAL command for the provider you usually use, and enter the following. Replacing PBX_ID with the PBX ID of your PBX Profile you setup.

exten => _X.,n,Set(CALLERID(name)=PBX_ID) ; replace PBX_ID
exten => _X.,n,Dial(PJSIP/${EXTEN:0}@pbxshield)

Now login to your asterisk console and reload asterisk by typing reload at the console and waiting a few seconds so your settings become active.

Congratulations! You have now setup PBX Shield on your Asterisk PBX system!

To test your system please use our testing guide in the PBX Shield documentation.

A bit more information:

Seeing you are running your own Asterisk system, you may need a little information as to how PBX Shield works. If so, check out How PBX Shield works in our documentation, to get a handle on whats actually happening in your system.

Was this article helpful to you? Yes No