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

Using MySQL to search for the caller's name

This option allows us to search for the caller's name in a database.

How to do it…

If we wanted to use a MySQL query to search for the caller name for an incoming caller ID, we must enter the Host, the Database, the Username, the Password, and the Query that will be executed to search for the name. Cache results options are checked in the image. This will allow the system to store results astDB in the cache, so that the system can perform lookups locally instead of remote lookups. This is shown in the next image:

How to do it…

The database query would be as follows: select name from users with an extension like %[NUMBER]%. This will search in the database for the name of the caller associated with the number in the table called users.

主站蜘蛛池模板: 盈江县| 南平市| 鄯善县| 盐边县| 图片| 盐池县| 巴林左旗| 永登县| 永年县| 黎川县| 合作市| 凤翔县| 大理市| 罗江县| 中江县| 鄂托克旗| 达拉特旗| 北安市| 交口县| 遵化市| 潞西市| 高安市| 外汇| 任丘市| 青龙| 马龙县| 庆云县| 大城县| 永城市| 枣强县| 广平县| 清镇市| 平阳县| 大理市| 和静县| 滁州市| 伊通| 灵璧县| 阳朔县| 乌兰察布市| 历史|