[asterisk-users] func_odbc still working in trunk?

2007-01-20 Thread Rob Fugina

Is func_odbc still working in trunk?  I've recently (in the last few weeks)
started having a problem where my custom functions don't work.  The 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(314321)'

And that, after...

*CLI core show functions like ODBC
Matching Custom Functions:

ODBC_CIDName  ODBC_CIDName(arg1[...[,argN]])   Runs the
referenced query with the specified arguments
ODBC_LookupCIDNameODBC_LookupCIDName(arg1[...[,arg  Runs the
referenced query with the specified arguments
ODBC_TEST ODBC_TEST(arg1[...[,argN]])  Runs the
referenced query with the specified arguments
3 matching custom functions installed.

I'd swear I haven't changed anything in the odbc or func_odbc setup, but
that just gets people in trouble.

Any help, greatly appreciated.

Rob
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] func_odbc still working in trunk?

2007-01-20 Thread Andrew Kohlsmith
On Saturday 20 January 2007 6:21 pm, Rob Fugina wrote:
 Is func_odbc still working in trunk?  I've recently (in the last few weeks)
 started having a problem where my custom functions don't work.  The 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(314321)'

Reported by me, actually fixed by Corydon in rev 51353.  Kevin Fleming's 
constification went a little far.  :-)

-A.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users