Thanks for replying (I only asked on this list) Whatever function you add to that file becomes a function and that was a odbc function I added
Anyhow after a restart of asterisk it started working ok It worked like a charm (I had more than 50000 inserts to a database within a few hours) -----Original Message----- From: Rusty Newton <rnew...@digium.com> Sender: asterisk-users-bounces@lists.digium.comDate: Wed, 23 Oct 2013 12:15:50 To: Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users@lists.digium.com> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Subject: Re: [asterisk-users] error cant write to function ODBC_DEVICES On Sun, Oct 20, 2013 at 6:12 AM, Israel Gottlieb <isr...@gmail.com> wrote: > <snip> > > but from the dialplan gives me a error " cant write to function > ODBC_DEVICES" > > happy to hear any ideas I don't use func_odbc on a regular basis, but from looking at the sample file and looking at the functions provided within Asterisk. The ODBC_DEVICES function does not exist. The three functions available for configuration within func_odbc.conf appear to be ODBC_SQL,ODBC_ANTIGF,ODBC_PRESENCE Also the only examples of the string "ODBC_DEVICES" out on the web according to Google show up at the various forums you have asked about it. :) So.. "can't write to function" is definitely expected behavior. Hope that helps! -- Rusty Newton Digium, Inc. | Community Support Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - US direct: +1 256 428 6200 Check us out at: http://digium.com & http://asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users