Você está na página 1de 7

Custom contexts on Elastix Guide.

By
Vladimir de la Cruz.

04/02/08

This document is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 Mexico License.
Table of Contents
Custom context module.............................................................................................................................3
Description for version 0.3.3................................................................................................................ 3
Install.................................................................................................................................................... 3
1 Downloading and unpacking module........................................................................................... 3
2 Installing custom context module................................................................................................. 4
3 Add and configure a new custom-context.................................................................................... 7
4 Apply a custom context to extension.......................................................................................... 10
Reference ...........................................................................................................................................10
Custom contexts module.

Description for version 0.3.3


Creates custom contexts which can be used to allow limited access to dialplan applications.
Features:
● Allows for time restrictions on any dialplan access.
● Allows for pattern matching to allow/deny.
● Allows for failover destinations, and PIN protected failover.
● This can be very useful for multi-tennant systems.
● Inbound routing can be done using DID or zap channel routing, this module allows for
selective outbound routing.
● Phones can be placed in a restricted context allowing them only internal calls.
More info: http://aussievoip.com.au/wiki/freePBX-CustomContexts

Install
The custom contexts module currently is a beta module that must be manually installed. To install:

1 Downloading and unpacking module.


Login on the Elastix box and do it the next:
cd /var/www/html/admin/modules
wget http://www.freepbx.org/trac/attachment/ticket/1447/customcontexts-0.3.3.tgz?format=raw
mv customcontexts-0.3.3.tgz?format=raw customcontexts-0.3.3.tgz
tar -xzvf customcontexts-0.3.3.tgz
rm -f customcontexts-0.3.3.tgz
2 Installing custom contexts module.
On the Elastix web interface click on the PBX, Unembedded freePBX.

The admin password is admin:

On Admin, Tools, Module admin, and Custom Contexts, select Install, click on Process.

Confirm and then click the orange bar to complete installation.


3 Add and configure a new custom-context.
Add a new context custom: On Admin, Setup, Custom Context.

To edit the custom-


context, only select:
Allow or Deny each
context.
To allow or deny the outbound calls, select the route and Allow or Deny.
4 Apply a custom context to extension
To finish, you can use the custom context on Edit Extensions, Device Options.

Reference

http://aussievoip.com.au/wiki/freePBX-CustomContexts
http://www.elastix.org/index.php?
option=com_openwiki&Itemid=27&id=installation#first_time_access_to_the_web_interface

Você também pode gostar