Custom Contexts


Custom Contexts allow dial plan access restrictions to be defined on a per extension or trunk basis.

There are two fields in the Custom Context panel that must always be set to the same value for this feature to work. These two fields are highlighted in RED and BOLD:

  • ENTIRE Basic Internal Dialplan



To add a custom context, perform the following steps:

  1. Open the UCx Web-based Configuration Utility
  2. From the PBX tab, select PBX Configuration
  3. From the left side column, select Custom Contexts
  4. On the Add Context page, enter a name in the Context field
  5. Enter text to describe what this context is for in the Description field
  6. Press the Submit button to create the new context

On the right side column, look for the new context and select it.

If rules are defined In the Dial Rules field, you will have the option for each portion of the dialplan to use Allow Rules or Deny Rules.
Using Allow Rules or Deny Rules means the dialplan will be allowed or denied only when the number dialed matches the rules.

To see examples of dial rules, you can go to Outbound Routes and use the Dial Patterns Wizard.

Set All

The Set All To field will preset all dialplans on this page to the selected value. The available values are:

  • Allow
  • Deny
  • Allow Rules
  • Deny Rules

If you have any Time Groups defined, it will also be available for selection in the drop-down list. The example below shows the time group Business hours in the drop-down list.

Default Internal Context

You can set the ENTIRE Basic Internal Dialplan to Deny then selectively Allow/Deny the supported list of dialplans under Internal Dialplan, or vice versa.

Internal Dialplan

The feature dialplans that are supported under Custom Contexts will be listed in this section. If the feature dialplan is not listed here, then the restriction applied will be the value set in ENTIRE Basic Internal Dialplan.

Dialplan Feature
app-callwaiting-cwoff Deactivate Call Waiting (*71)
app-callwaiting-cwon Activate Call Waiting (*70)
app-dictate-send Send Dictation (*35)
app-dictate-record Perform Dictation (*34)
app-calltrace Activate Call Trace (*69)
app-speakextennum Speak your Extension (*65)
app-speakingclock Speak Time (*60)
app-echo-test Echo Test (*43)
ext-intercom-users Intercom (*80, *54, *55)
app-blacklist Blacklist (*30, *31, *32)
ext-group Ring Groups
grps Unknown
app-hotelwakeup WakeUp Calls (*68)
vmblast-grp Voicemail Blast group
park-hints Call Park Retrieval (*86 and configured parking slot extension numbers)
app-fmf-toggle Findme Followme toggle (*21)
ext-findmefollow Findme Followme
fmgrps Unknown
app-pbdirectory Phonebook Directory (*411)
app-cf-busy-off-any Deactivate Call Forward Busy Prompting (*92)
app-cf-busy-off  Deactivate Call Forward Busy (*91)
app-cf-busy-prompting-on Activate Call Forward Busy Prompting (*900)
app-cf-busy-on Activate Call Forward Busy (*90)
app-cf-toggle Call Forward toggle (*740)
app-cf-off-any Deactivate Call Forward All Prompting (*74)
app-cf-off Deactivate Call Forward All (*73)
app-cf-prompting-on Activate Call Forward All Prompting (*720)
app-cf-on Activate Call Forward All (*72)
app-cf-unavailable-off Deactivte Call Forward Unvailable (*53)
app-cf-unavailable-prompt-on Activate Call Forward Unvailable Prompting (*520)
app-cf-unavailable-on Activate Call Forward Unvailable (*52)
ext-cf-hints Call Forward Toggle for a specific extension (*740xxx)
ext-meetme Conferences
ext-queues Queues
app-queue-toggle Queue member toggle (*45)
app-queue-caller-count Queue callers (*47)
app-miscapps Miscellaneous applications
app-speeddial System and User speed dial
app-recordings System Recordings
app-fax Dial system fax
app-dialvm Dial voicemail (*98)
app-vmmain My voicemail (*97)
app-dnd-off Deactivate DND/MSB (*79)
app-dnd-on Activate DND/MSB (*78)
app-dnd-toggle Toggle DND/MSB (*76)
ext-dnd-hints Toggle DND/MSB for a specific extension (*76xxx)
ext-local-confirm Unknown
findmefollow-ringallv2 Findme Followme Ring Strategy - ringallv2
app-pickup Directed Call Pickup (**)
ext-test Simulate incoming call (7777)
ext-local All local extensions and their voicemail box
ext-paging Paging groups

Outbound Routes

It is important to set the field ALL OUTBOUND ROUTES to the same value as the ENTIRE Basic Internal Dialplan.

All outbound routes that have been configured on the system will be listed under the Outbound Routes section of the panel. Select the desired restriction for the routes listed.

Fail Over Destination

You can choose where to route the call when the dialed number or feature code is restricted by this custom context.
Enter a number in the PIN field means the user will have to enter this PIN code for authentication before the call is routed.


See examples of how to use Custom Contexts in the How-To Restrict dial access using Custom Contexts page.

Video Tutorial

Self Assessment Quiz

  1. Can you give an example of when you would use Custom Context?
  2. What are the 2 fields that must be set to the same value for the Custom Context feature to work?