[asterisk-users] func_odbc.c: Unable to execute query

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri May 8 01:11:36 CDT 2009


On Thursday 07 May 2009 18:21:55 arturo arturo wrote:
> I have an asterisk 1.6.2 installation. I'm trying to configure func_odbc to
> read some mysql tables... but every time I tried I got this message:
>
> ERROR[24968] func_odbc.c: Unable to execute query [SELECT bloqueada FROM
> funciones WHERE extension='750']

What is the output of 'odbc show' from the Asterisk CLI?  What is in your
odbc.ini, res_odbc.conf, and func_odbc.conf?  Remember that the entry in
odbc.ini is referenced by res_odbc.conf, and the entry in func_odbc.conf
references the entry in res_odbc.conf, not odbc.ini.

-- 
Tilghman



More information about the asterisk-users mailing list