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

Friendly Automation asteriskteam at digium.com
Wed Jan 22 09:22:02 CST 2020


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/13657 )

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(-)

Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Friendly Automation: Approved for Submit



diff --git a/configs/samples/func_odbc.conf.sample b/configs/samples/func_odbc.conf.sample
index ca970e1..706b9ce 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/+/13657
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 17
Gerrit-Change-Id: Ia05aab1f579597963d2ea23920d2210cfcb97c84
Gerrit-Change-Number: 13657
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200122/c2cd0b6c/attachment.html>


More information about the asterisk-code-review mailing list