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

Routing calls based on caller ID


This feature enables our system to look up a caller's name related to a number in the system's phonebook or database, or via an HTTP lookup, and displays it on the phone. This feature can be used with Asterisk Gateway Interface (AGI) scripts, allowing us to do a database operation or a screen pop-up based on this caller ID-caller name relationship.

How to do it…

The next step shows us how to set up our system to enable any features to any caller ID received in an incoming call:

  1. Click on CallerID Look-up Sources to enable this feature.

  2. Add Source Description for the source in which the caller name will be searched and select Source Type.

How it works…

This module searches for the caller ID by using the following options:

  • Internal: Uses Asterisk's internal database (ASTDB) as a source to search for the number.

  • ENUM: Uses DNS to look up the caller's name and the ENUM lookup zones configured in enum.conf. ENUM (which stands for E.164 NUmber Mapping) is a framework of...