Displaying 20 results from an estimated 1000 matches similar to: "CDR ODBC error"
2016 Feb 11
3
res_odbc crashes asterisk
I use realtime on my asterisk installation. I have always used
mysql for my realtime connection but as mysql seems to be on the "soon
to be deprecated" list of asterisk features I am trying to move to ODBC
(still using MariaDB/Mysql on backend). I find ODBC support in Asterisk
very unstable. Just today my asterisk server (a test server and a
production server) has crashed often
2012 Jun 05
3
CDRs on multiple servers.
Hello guys,
I need to be able to throw cdrs on more than one servers at a time. Please let me know how this can be done.
Thanks
2010 May 05
3
CDR to MS-SQL via ODBC issue
Hi guys,
Having issue with getting CDR to write to MS-SQL via ODBC.
> cdr_odbc: Connected to freetds-connector
> cdr_odbc: Error in PREPARE -1
> cdr_odbc: Query FAILED Call not logged!
== Spawn extension (cisco, ##########, 2) exited non-zero on
'IAX2/astYYYY-507
Isql test:
[xxx at YYYY asterisk]# isql freetds-connector XXXXXXX YYYYYYYYY
2015 Apr 25
4
Error writing CDR
Hi All
I have dozens of these messages on CLI complaining about database connection and error writing CDR to disk.
The curious thing is I can find them all inside the database.
I "selected" them using uniqueid and manually compared each column with the cdr_adaptive_odbc.c error line.
"mysqlcheck -a -e -v DBase" and "mysqlcheck -c -e -v DBase" both returned OK for
2010 Oct 20
2
Adaptive CDR and default fields
I'm running 1.6.2.13 and need to record a small number of custom
values use cdr_odbc and cdr_adaptive_odbc, and only the custom
fields.
The good news is that the custom records are being stored in the
database as desired. The bad news is that I get three sets of
warnings/notice about 'SQL Exec Direct failed' and dropping then
reconnecting the database handle. I traced the SQL calls
2010 Apr 21
2
Unable to load cdr_adaptive_odbc.so
Hi all,
I am having trouble getting cdr_adaptive_odbc to work.
I have correctly configured the odbc drivers and dsn (I have tested
this by connecting directly using isql). I have also configured
/etc/asterisk/cdr_adaptive_odbc.conf like so:
[test-asterisk]
connection=test-asterisk-odbc
table=cdr
I have tested the ODBC connection test-asterisk-odbc and it works correctly
However when I try to
2015 Apr 25
1
Error writing CDR
On Sat, 25 Apr 2015 17:11:34 +0200
jg <webaccounts173 at jgoettgens.de> wrote:
>
> > Hi All
> >
> > I have dozens of these messages on CLI complaining about database
> > connection and error writing CDR to disk.
> >
> > The curious thing is I can find them all inside the database.
> > I "selected" them using uniqueid and manually
2018 Dec 07
2
cdr_odbc.c:174 odbc_log: Unable to retrieve database handle. CDR failed.
On 12/07/2018 02:25 PM, Joshua C. Colp wrote:
> On Fri, Dec 7, 2018, at 9:19 AM, hw wrote:
>>
>> Hi,
>>
>> is cdr logging using odbc buggy? I'im only getting an error
>> "cdr_odbc.c:174 odbc_log: Unable to retrieve database handle. CDR failed.".
>>
>> Connecting with isql to the datasource given in cdr_odbc.conf works just
>> fine,
2012 Jun 18
4
Asterisk 1.8.13.0 / problem with cdr logging (mysql, odbc)
Hi,
I am trying now for over 4 hours setting up cdr-logging via odbc into a
mysql database. But with no success. Do you have any hint for me?
cat /etc/odbc.ini
------------------
[MySQL-asterisk]
Description = MySQL ODBC Driver
Driver = MySQL
Socket = /var/run/mysqld/mysqld.sock
Server = localhost
User = xxx
Password = xxx
Database = asterisk
Option = 3
Port =
and
/etc/odbcinst.ini
2018 Dec 07
2
cdr_odbc.c:174 odbc_log: Unable to retrieve database handle. CDR failed.
Hi,
is cdr logging using odbc buggy? I'im only getting an error
"cdr_odbc.c:174 odbc_log: Unable to retrieve database handle. CDR failed.".
Connecting with isql to the datasource given in cdr_odbc.conf works just
fine, and using the database for sippeers also works.
The documentation[1] is confusing because it says freeTDS is required
and that you must not use multiple
2007 Nov 24
3
MSSQL ODBC Connections
Hi all,
The asterisk book states the following for using ODBC to connect to an
MS database.
? The pooling and limit options are quite useful for MS SQL Server and
Sybase databases. These permit you
to establish multiple connections (up to limit connections) to a
database while ensuring that each connection
has only one statement executing at once (this is due to a limitation
in the protocol
2009 May 05
1
Asterisk cdr_odbc problems
I'm trying to get asterisk cdr_odbc configured, but it can't connect
through my odbc driver.
switchboard*CLI> module load cdr_odbc
[May 4 20:06:04] ERROR[17758]: cdr_odbc.c:358 odbc_load_module:
cdr_odbc: Unable to connect to datasource: asterisk
/etc/odbcinst.ini:
[MySQL]
Description = MySQL driver
Driver = /usr/lib/odbc/libmyodbc.so
Setup =
2004 May 18
2
problem with cdr_odbc
Hi,
Has anyone made a successfull instalation of cdr_odbc??
I've install unixODBC-2.2.8 (made my own RPM) and then built the module.
I'm trying to send the cdrs to a M$ SQL server. The sql connection
works because I can do any query via isql.
When I do the calls I get the following output on the asterisk console:
-- Executing Hangup("SIP/test1-a5e1", "") in new
2009 Nov 06
2
odbc to ms-sql server
Hi all,
I'm trying to set up an odbc connection to a ms-sql server from an
asterisk 1.6.1 install
My problem is that I cannot get asterisk to build func_odbc &
res_odbc.so
I installed yum -y install unixODBC unixODBC-devel libtool-ltdl
libtool-ltdl-devel
And then went on to reconfigure / recompile asterisk
after a ./configure --with-odbc=/usr/lib/
I get
2014 Jan 08
0
(CALL FILES to Local Channel)billsec Zero in cdr via cdr_adaptive_odbc
Hi, all
Sorry for null subject last mail.
I use Ubuntu 12.04.01 TLS and install asterisk 11.7.0 (tar.gz downloaded
from asterisk.org). We named it "Asterisk11".
I want to generate a call file to /var/spool/asterisk/outgoing. This call
will dial out to Local Channel and return to some Extens.
Then Asterisk11 will generate a CDR records to MySQL's cdr table(in
database
2009 Mar 07
1
Cdr problem
hi,
I'm working with asterisk on a project and I found a problem with cdr_odbc.
As we know, after answering each call a cdr event is raised which is saved
in cdr_csv and cdr_odbc. but here my point is on cdr_odbc. some information,
including start_time and end_time is given by cdr event but the problem is
that these two information(start_time and end_time) is not getting save in
cdr_odbc. I
2014 Jan 08
0
(no subject)
Hi, all
I use Ubuntu 12.04.01 TLS and install asterisk 11.7.0 (tar.gz downloaded
from asterisk.org). We named it "Asterisk11".
I want to generate a call file to /var/spool/asterisk/outgoing. This call
will dial out to Local Channel and return to some Extens.
Then Asterisk11 will generate a CDR records to MySQL's cdr table(in
database "mydatabase") via cdr_adaptive_odbc.
2014 Jan 08
0
Billsec 0 when using call file to Local channel via cdr_adapative_odbc
Hi, all
Sorry that forgot add mail subject last one.
I use Ubuntu 12.04.01 TLS and install asterisk 11.7.0 (tar.gz downloaded
from asterisk.org). We named it "Asterisk11".
I want to generate a call file to /var/spool/asterisk/outgoing. This call
will dial out to Local Channel and return to some Extens.
Then Asterisk11 will generate a CDR records to MySQL's cdr table(in
database
2016 Mar 23
3
ODBC crashing asterisk
Hi all,
I've got a new server up, but it's not staying up....
After a day or so, it segfaults with:
[Mar 22 23:17:49] WARNING[12177]: res_odbc.c:1406 _ast_odbc_request_obj2:
SetConnectAttr (Txn isolation) returned an error: HY000: [MySQL][ODBC 5.2(a)
Driver]You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use
2016 May 27
2
asterisk odbc segfaults
after downgrade to 13.8.2
May 27 18:21:06 ast kernel: asterisk[16286]: segfault at 1010024 ip
b49162cd sp bfac0940 error 4 in libmysqlclient.so.16.0.0[b48f1000+12e000]
after downgrade to 13.7.2
asterisk is ok
Dne 27.5.2016 v 18:09 Marek ?ervenka napsal(a):
> btw info from my segfault
>
> Core was generated by `/usr/sbin/asterisk -f -vvvg -c'.
> Program terminated with signal 11,