Call Restrictions
From Pbxnsip Wiki
(Redirected from Call Restictions)
This section explains how to set up call restrictions on an extension from the front desk through a SIP phone. This feature is mostly useful in the hospitality sector where the front desk wants to control what numbers can be dialled from a specific guest room. The restriction is done by changing the dial plan of the target destination trough a special code. The change can also be done through the web interface of the PBX; however this chapter explains how to do this through a call to the PBX.
[edit]
Pre-requisite
- PBX should be running version 3.0.0.2934 or above
- Dial plan names must be configured before using them in IVR node configuration.
[edit]
Configuration
- Create an IVR node: For example, "78".
- Set the WAV file for the message to be played. This file may play out something like “Please enter the extension number to change the dial plan for, followed by the pound sign (#).
- Set the DTMF match list as shown below.
- Set the SOAP URL as shown below. The SOAP URL will contain the Dial Plan name that you want to set. The one shown below will set the dial plan for the extension to "All Allowed" (please notice the "+" sign as a replacement for the space, see URL-Encoding).
[edit]
Operation
- Pick up the front desk phone and dial the number of the IVR node (78 in the example above)
- You will hear the message "Please enter the extension number..."
- Enter the extension number followed by the pound sign (#). For example: 235#
- The call will be disconnected at this moment and the dial plan for 235 will be set to "All Allowed". You can verify this by viewing the web page for extension 235.
You can create as many IVR nodes as needed. For a simple "all allowed", "all restricted" settings you need two IVR nodes.

