Permit the syntax and synopsis fields to be set (for func_odbc).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@145846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-10-02 17:16:54 +00:00
parent 4ea05efd8b
commit cf06228a2f
3 changed files with 34 additions and 3 deletions

View File

@@ -57,6 +57,8 @@ dsn=mysql1,mysql2 ; Use mysql1 as the primary handle, but fall back to mysql2
; "writehandle", if it is important to separate reads and
; writes to different databases.
readsql=SELECT COUNT(*) FROM exgirlfriends WHERE callerid='${SQL_ESC(${ARG1})}'
syntax=<callerid>
synopsis=Check if a specified callerid is contained in the ex-gf database
; ODBC_PRESENCE - Retrieve and update presence
[PRESENCE]