官术网_书友最值得收藏!

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 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.

主站蜘蛛池模板: 遂宁市| 博湖县| 陆丰市| 皮山县| 新源县| 同心县| 奎屯市| 阳高县| 上思县| 静乐县| 古蔺县| 东港市| 贺州市| 卓资县| 合江县| 怀柔区| 乳山市| 英吉沙县| 西林县| 浦县| 陕西省| 白水县| 博客| 怀柔区| 互助| 丹阳市| 莱阳市| 长汀县| 富锦市| 舒兰市| 青海省| 麦盖提县| 天峨县| 定远县| 澳门| 普格县| 荃湾区| 乐至县| 峡江县| 伽师县| 汝城县|