Displaying 3 results from an estimated 3 matches for "acf_odbc_read".
2008 Dec 09
2
Func_ODBC question
Hi I have
On func_odbc
[EXEC]
readhandle=ressqlserver
writehandle=ressqlserver
readsql=${ARG1}
writesql=${ARG1}
I'm trying an update on dialplan:
exten=> 141,3,Set(dummy=${ODBC_EXEC(UPDATE Tabla set campo = ${EXTEN})})
On Cli:
WARNING[3579]: func_odbc.c:353 acf_odbc_read: Error -1 in FETCH [UPDATE
Tabla set campo = 4356]
Any idea why is this??
The query works fine, I just wanto to know if the warning can cause any
problem to me.
Thanks!!
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digiu...
2007 Jan 20
1
func_odbc still working in trunk?
...module
loads, the configuration file is parsed fine, and the functions are even
created and visible in "core show functions", but when executed from the
dialplan I get a "no such function" error. Here's a bit of console log:
[Jan 20 12:10:42] ERROR[19482]: func_odbc.c:218 acf_odbc_read: No such
function 'ODBC_CIDName(3143212222)'
And that, after...
*CLI> core show functions like ODBC
Matching Custom Functions:
--------------------------------------------------------------------------------
ODBC_CIDName ODBC_CIDName(<arg1>[...[,<argN>]]) Runs th...
2009 Mar 21
2
1.6.2 beta 1 crash
...t;,", ap=0xb6f9ea1c "")
at /usr/src/integra/asterisk-1.6.2.0-beta1/include/asterisk/utils.h:493
#7 0x0814d531 in ast_str_append (buf=0xb6f9ed54, max_len=0, fmt=0x60f0ac3
",") at
/usr/src/integra/asterisk-1.6.2.0-beta1/include/asterisk/strings.h:749
#8 0x060eeee5 in acf_odbc_read (chan=0x8a527e8, cmd=0xb6f9ed90
"ODBC_MSSQL", s=0xb6f9ed9b "IVR_TEST_Asterisk 1001", buf=0xb6f9ee10 "1,0",
len=4096)
at func_odbc.c:545
#9 0x081009e0 in ast_func_read (chan=0x8a527e8, function=0xb6f9fe20
"ODBC_MSSQL(IVR_TEST_Asterisk 1001)", workspace=...