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

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.

主站蜘蛛池模板: 来宾市| 南通市| 合山市| 鹤岗市| 汾阳市| 江西省| 驻马店市| 武义县| 汝南县| 梓潼县| 页游| 岳阳县| 甘德县| 富川| 新闻| 三亚市| 武汉市| 老河口市| 五家渠市| 如皋市| 通州市| 焉耆| 大冶市| 信宜市| 锡林郭勒盟| 大宁县| 揭东县| 连云港市| 城固县| 内丘县| 靖宇县| 贵德县| 涿鹿县| 宁河县| 莫力| 上蔡县| 澄江县| 梧州市| 阿合奇县| 融水| 金沙县|