Book Image

Elastix Unified Communications Server Cookbook

Book Image

Elastix Unified Communications Server Cookbook

Overview of this book

Table of Contents (24 chapters)
Elastix Unified Communications Server Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Description and Use of the Most Well-known FreePBX Modules
Addon Market Module
Asterisk Essential Commands
Asterisk Gateway Interface Programming
Helpful Linux Commands
Index

Using the Custom-Context module


In Chapter 4, Knowing the Internal PBX Options and Configuration, recipe Installing the Custom-Context module, we learnt how to configure this module to allow or deny outbound calls to certain extensions. In this section, we will explain a general way to allow or deny the use of features, trunks, and outbound routes from the IP-PBX.

How to do it…

  1. Select the context called Internal Calls.

  2. Select Allow from the Set All To drop-down menu. This will grant the context access to all features and trunks, as shown in the next screenshot:

  3. Go to the ALL OUTBOUND ROUTES section.

  4. Select which outbound route this context can use.

  5. Set the route 9_E1 (the only route that has access to local calls by dialing 9 as a prefix) and set the other routes to Deny.

  6. Save and apply the changes.

  7. These steps are shown in the next screenshot:

  8. Click on the Submit button and on the Apply Configuration Changes Here link:

  9. Go to the PBX Configuration | Extensions menu.

  10. Choose the extension to restrict...