Asterisk make it. It is in app_voicemail, I'm using voicemail ODBC. On Sat, Jun 19, 2010 at 3:35 PM, Zeeshan Zakaria <zisha...@gmail.com> wrote:
> Seems to me that the SQL statement is not complete and asterisk is > complaining about it. Do you prepare this statement in your dialplan or > asterisk makes it automatically? > > Zeeshan A Zakaria > > -- > www.ilovetovoip.com > > On 2010-06-19 9:10 AM, "Andraž" <atle...@gmail.com> wrote: > > Ok, this issue I resolved, I just changed the TDS version to 7.0. But now I > receive different error, I can't insert into database. > > [Jun 19 14:30:25] WARNING[6212] app_voicemail.c: SQL Prepare failed![INSERT > INTO pbx_VoiceMail > (dir,msgnum,recording,context,macrocontext,callerid,origtime,duration,mailboxuser,mailboxcontext) > VALUES (?,?, ? , ?,?,?,?,?,?,?)] > [Jun 19 14:30:25] WARNING[6212] res_odbc.c: SQL Prepare failed. Attempting > a reconnect... > [Jun 19 14:30:25] NOTICE[6212] res_odbc.c: Connecting sqlserver > [Jun 19 14:30:25] NOTICE[6212] res_odbc.c: res_odbc: Connected to sqlserver > [kupalaodbc] > -- > > _____________________________________________________________________ > -- 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 >
-- _____________________________________________________________________ -- 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