UCX Administration
Outbound Call Control – Custom Contexts

Introduction

Custom Contexts allow dial plan access restrictions to be defined on a per extension or trunk basis. The following flow chart illustrates how custom context is applied.

Configuration

IMPORTANT:
There are two fields in the Custom Context page 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</span
  • ALL OUTBOUND ROUTES

Add Context

To add a custom context, perform the following steps:

  1. From the PBX tab, select PBX Configuration
  2. From the left side column, select Custom Contexts
  3. On the Add Context page, enter a name in the Context field
  4. Enter text to describe what this context is for in the Description field
  5. 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.

USEFUL TIP

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.

NOTE

Setting the ENTIRE Basic Internal Dialplan to DENY will NOT disable the internal dial plan. It simply implies that the internal dial plan will be affected by rule(s) further down in the panel.

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.

DialplanFeature
app-blacklistBlacklist (*30, *31, *32)
app-calltraceActivate Call Trace (*69)
app-callwaiting-cwoffDeactivate Call Waiting (*71)
app-callwaiting-cwonActivate Call Waiting (*70)
app-cf-busy-offDeactivate Call Forward Busy (*91)
app-cf-busy-off-anyDeactivate Call Forward Busy Prompting (*92)
app-cf-busy-onActivate Call Forward Busy (*90)
app-cf-busy-prompting-onActivate Call Forward Busy Prompting (*900)
app-cf-offDeactivate Call Forward All (*73)
app-cf-off-anyDeactivate Call Forward All Prompting (*74)
app-cf-onActivate Call Forward All (*72)
app-cf-prompting-onActivate Call Forward All Prompting (*720)
app-cf-toggleCall Forward toggle (*740)
app-cf-unavailable-offDeactivte Call Forward Unvailable (*53)
app-cf-unavailable-onActivate Call Forward Unvailable (*52)
app-cf-unavailable-prompt-onActivate Call Forward Unvailable Prompting (*520)
app-daynight-toggleCall Flow toggles (*28)
app-dialvmDial voicemail (*98)
app-dictate-recordPerform Dictation (*34)
app-dictate-sendSend Dictation (*35)
app-dnd-offDeactivate DND/MSB (*79)
app-dnd-onActivate DND/MSB (*78)
app-dnd-toggleToggle DND/MSB (*76)
app-echo-testEcho Test (*43)
app-faxDial system fax
app-fmf-toggleFindme Followme toggle (*21)
app-hotelwakeupWakeUp Calls (*68)
app-miscappsMiscellaneous applications
app-pbdirectoryPhonebook Directory (*411)
app-pickupDirected Call Pickup (**)
app-queue-caller-countQueue callers (*47)
app-queue-toggleQueue member toggle (*45)
app-recordingsSystem Recordings
app-speakextennumSpeak your Extension (*65)
app-speakingclockSpeak Time (*60)
app-speeddialSystem and User speed dial
app-vmmainMy voicemail (*97)
ext-cf-hintsCall Forward Toggle for a specific extension (*740xxx)
ext-dnd-hintsToggle DND/MSB for a specific extension (*76xxx)
ext-findmefollowFindme Followme
ext-groupRing Groups
ext-intercom-usersIntercom (*80, *54, *55)
ext-localAll local extensions and their voicemail box
ext-local-confirmUnknown
ext-meetmeConferences
ext-pagingPaging groups
ext-queuesQueues
ext-testSimulate incoming call (7777)
findmefollow-ringallv2Findme Followme Ring Strategy – ringallv2
fmgrpsUnknown
grpsUnknown
park-hintsCall Park Retrieval (*86 and configured parking slot extension numbers)
timeconditions-togglesTime Condition toggles (*27)
vmblast-grpVoicemail Blast group

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.

IMPORTANT

If you have an emergency route defined, NEVER deny any extension from making an emergency (911) call!

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.

Usage

For examples of how to use Custom Contexts, see How-To Restrict dial access using Custom Contexts page.

CLI Command

To see a list of extensions and their assigned custom context call restrictions, use the following CLI command:

  • Navigate to PBX -> PBX Tools -> Asterisk CLI page
  • Execute the command: database showkey ccontext

Contents