[Asterisk-code-review] func_odbc.conf.sample: Add example lookup (asterisk[13])

Sean Bright asteriskteam at digium.com
Mon Jan 20 15:26:15 CST 2020


Sean Bright has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/13666 )


Change subject: func_odbc.conf.sample: Add example lookup
......................................................................

func_odbc.conf.sample: Add example lookup

Change-Id: Ia05aab1f579597963d2ea23920d2210cfcb97c84
---
M configs/samples/func_odbc.conf.sample
1 file changed, 4 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/66/13666/1

diff --git a/configs/samples/func_odbc.conf.sample b/configs/samples/func_odbc.conf.sample
index 0307e22..c3df9bc 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=<callerid>
-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]

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/13666
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: Ia05aab1f579597963d2ea23920d2210cfcb97c84
Gerrit-Change-Number: 13666
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200120/48ba9b6a/attachment.html>


More information about the asterisk-code-review mailing list