From 14de6b9ba78b74a5f7947b44cd8c5055b0e0c51f Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Mon, 20 Jan 2020 16:26:14 -0500 Subject: [PATCH] func_odbc.conf.sample: Add example lookup Change-Id: Ia05aab1f579597963d2ea23920d2210cfcb97c84 --- configs/samples/func_odbc.conf.sample | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/samples/func_odbc.conf.sample b/configs/samples/func_odbc.conf.sample index 0307e22f27..c3df9bc910 100644 --- a/configs/samples/func_odbc.conf.sample +++ b/configs/samples/func_odbc.conf.sample @@ -91,16 +91,16 @@ dsn=mysql1 readsql=${ARG1} -; ODBC_ANTIGF - A blacklist. -[ANTIGF] +; ODBC_ANTISOLICIT - A blacklist for known solicitors. +[ANTISOLICIT] dsn=mysql1,mysql2 ; Use mysql1 as the primary handle, but fall back to mysql2 ; if mysql1 is down. Supports up to 5 comma-separated ; DSNs. "dsn" may also be specified as "readhandle" and ; "writehandle", if it is important to separate reads and ; writes to different databases. -readsql=SELECT COUNT(*) FROM exgirlfriends WHERE callerid='${SQL_ESC(${ARG1})}' +readsql=SELECT COUNT(*) FROM known_solicitors WHERE callerid='${SQL_ESC(${ARG1})}' syntax= -synopsis=Check if a specified callerid is contained in the ex-gf database +synopsis=Check if a specified callerid is contained in the known solicitors database ; ODBC_PRESENCE - Retrieve and update presence [PRESENCE]