- Elastix Unified Communications Server Cookbook
- Gerardo Barajas Puente
- 252字
- 2021-07-23 19:38:55
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:
- Click on CallerID Look-up Sources to enable this feature.
- 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 protocols to unify the PSTN with the Internet, addressing and identifying name spaces. - HTTP: This option executes an HTTP GET request by using the caller number as an argument to retrieve the correct name.
- MySQL: Uses a MySQL database query to retrieve the caller name.
- Cache results: Decides whether or not to cache the results to the PBX's internal database.
Now, we will cover a recipe for MySQL and HTTP options.
推薦閱讀
- C++ Primer習(xí)題集(第5版)
- Android Wearable Programming
- Facebook Application Development with Graph API Cookbook
- Mastering Entity Framework Core 2.0
- INSTANT Sencha Touch
- 劍指MySQL:架構(gòu)、調(diào)優(yōu)與運(yùn)維
- Java:High-Performance Apps with Java 9
- Python 3.7從入門(mén)到精通(視頻教學(xué)版)
- 快速入門(mén)與進(jìn)階:Creo 4·0全實(shí)例精講
- Azure Serverless Computing Cookbook
- Learning Splunk Web Framework
- Qt 4開(kāi)發(fā)實(shí)踐
- Python預(yù)測(cè)之美:數(shù)據(jù)分析與算法實(shí)戰(zhàn)(雙色)
- HTML5 WebSocket權(quán)威指南
- 一步一步學(xué)Spring Boot:微服務(wù)項(xiàng)目實(shí)戰(zhàn)(第2版)