Dear List,

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']

I'm sure the DSN is right because I can do this:

[r...@grupodelavega asterisk]# su - asterisk
[aster...@grupodelavega ~]$ isql mysql_dsn
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL> select bloqueada from funciones where extension='750'
+-----------+
| bloqueada |
+-----------+
| 0         |
+-----------+
SQLRowCount returns 1
1 rows fetched
SQL>


Thanks in advance,
_______________________________________________
-- 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

Reply via email to