Feature Codes

FreePBX - Admin Menu

What is the Feature Codes Module used for?

The Feature Codes Module is used to enable and disable certain features available in FreePBX and Asterisk and to set the codes that local users will dial on their phones to use that particular feature.

For example, the Feature Codes Module can be used to set the code that a user will dial to activate or deactivate Call Forwarding.  It can also be used to set a Code that can be used to enter into an Echo Test, to hear your extension number, or to hear the time of day.

How is the Feature Codes Module related to the other Modules?

The Feature Codes Module sets the codes used to activate and deactivate features that are configured in various other FreePBX modules.

In addition, the Feature Codes Module is related to the Advanced Settings Module.  In the Advanced Settings Module, when the Enable Custom Device States option is activated, FreePBX will create a set of codes, based upon some of the Feature Codes, that can be used to enable phones to display the status of various features on a light.  The feature is known as a Busy Lamp Field.  For example, a Busy Lamp Field can be used to show whether a Call Flow Control is enabled or disabled or whether a particular extension has enabled or disabled the Do Not Disturb feature, etc.

You can see a list of codes that can be used to display the status of the features on a light by accessing the Asterisk Info Module, and then clicking on Subscriptions.  Each of the codes listed there can be entered into a phone's Busy Lamp Field and will display the status of the related Feature Code.



The Feature Code module is where you can view all the feature codes that are built into your PBX. You can perform the following actions for each feature code:

  • Change a feature code number.
  • Enable or disable the feature code.

Logging in

  • On the top menu click Admin
  • In the drop down click Feature Codes

Changing a Feature Code

To change the number for any specific feature code, you need to follow the steps below.

Uncheck the “Use Default?” column This will clear the box.

Enter the code you wish to use in the box

Click "Submit Changes" and don't forget to click "Apply Config" in the top bar.


The feature code should be absolutely unique. Using *12 and *123 may cause an issue in some versions


Enable or Disable the Feature Code

In the event that you would like to disable a feature code completely from being used, you can toggle the Enable/Disable option for any feature code

In the feature status column click the drop down choose "Disabled"

Click "Submit Changes" and don't forget to click "Apply Config" in the top bar.