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

arturo arturo arturo at e-electrosystems.com
Fri May 8 12:16:21 CDT 2009


Thank you very much.... My problem was the res_odbc.conf file was not
configured... as soon as I enable the DSN it worked....


2009/5/8 Tilghman Lesher <tilghman at mail.jeffandtilghman.com>

> 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
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090508/c1d3fcf1/attachment.htm 


More information about the asterisk-users mailing list