[asterisk-users] ODBCExec and Asterisk 1.6 New Thread

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Nov 6 22:50:55 CST 2008


On Thursday 06 November 2008 18:59:29 Sebastian Gutierrez wrote:
> Dou you have any example? Can I call directly to querys without the
> templates???

func_odbc.conf:
[EXEC]
read=${ARG1}
write=${ARG1}
dsn=something

extensions.conf:
exten => 123,1,Set(result=${ODBC_EXEC(SELECT foo FROM bar)})

-- 
Tilghman



More information about the asterisk-users mailing list