Displaying 20 results from an estimated 4000 matches similar to: "Problem with odbc connector with cdr"
2015 Feb 03
0
Problem with odbc connector with cdr
I notice you have MySQL-asterisk as your definition in your odbc.ini but
you are trying to connect to simply 'MySQL' with your 'isql' command.
Does isql work with 'MySQL-asterisk' as the DSN instead of simply 'MySQL' ?
I have machines that use /etc/odbc.ini and machines that use
/usr/local/etc/odbc.ini depending on if I used a package to instal ODBC or
if I
2016 Mar 30
2
Asterisk 13.8.0 Now Available
Marek ?ervenka wrote:
> and what about
> https://www.asterisk-blog.com/2016/02/17/odbc_gutting/
While not in the email these are listed in the CHANGES and UPGRADE.txt
file. Going forward we'll try to ensure we include such things in the
release notes as well.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at:
2009 Feb 12
4
Rails & unixODBC
Hello,
I decided to embrace getting a new Rails application to see an
existing MSSQL database and trying to get unixODBC, freeTDS, and
ActiveRecord able to query my MSSQL database.
I''m following the procedure outlined at
http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux
but my system (Ubuntu 8.10 - Intrepid Ibex, Rails 2.3, Ruby 1.8.7)
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
2019 Oct 12
3
setting up ODBC for cdr logging into MariaDB
Hello,
I am trying to set up cdr logging into MariaDB through ODBC.
I have installed unixodbc unixodbc-dev and now I am struggling with
configuring /etc/odbcinst.ini
All the examples online use non-existent libraries, ie:
[MySQL]
Description = MySQL ODBC MyODBC Driver
Driver = /usr/lib/x86_64-linux-gnu/odbc/libmaodbc.so
Setup = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so
FileUsage = 1
I have
2011 Jul 17
1
ODBC MySql DB: sqlQuery empty
Dear R Beginners, Experts and Users,
I already asked this question on the R-sig-DB mailing list, but sadly
didn't got a reply :-( .
Keeping fingers crossed that I have more luck on the main R mailinglist :) .
I'm trying to connect to a MySQl database via Gnu R using the RODBC
interface. The conenction workes but I get an empty result string.
Gnu R and the MySql DB are running on a 64 bit
2008 Feb 23
2
MySQL Voicemail Storage Questions\Errors
I am running CentOS 5 with Asterisk 1.4.14. I am trying to setup storage of voicemail messages into MySQL. It is my understanding that I can only do this via ODBC. I installed per http://www.voip-info.org/wiki/view/CentOS+5+and+Asterisk+1.4.x+installation unixODBC unixODBC-devel libtool-ltdl libtool-ltdl-devel and mysql-connector-odbc. I reconfigured and built Asterisk, using menuconfig to
2010 Jan 12
1
FW: Problems connecting with MySQL using odbcDriverConnect (RODBC package) on Linux
I think I figured this out. I should not have put the Driver name in
braces. Changing it from {MySQL} to MySQL seems to work.
-----Original Message-----
From: Marcus, Jeffrey
Sent: Tuesday, January 12, 2010 6:09 PM
To: 'r-help at r-project.org'
Subject: Problems connecting with MySQL using odbcDriverConnect (RODBC
package) on Linux
I am sure I'm doing something wrong here but not
2006 Oct 29
1
Asterisk Voicemail with ODBC Realtime Access
Hi
I was trying to have realtime voicemail working with ODBC Driver.
Everything works fine with MySQL Realtime access, BUT as I want to implement
ODBC Storage as well, it seems that everything should go through ODBC ( what
I read on voip-info wiki page )
But I do not manage to make it work with ODBC.
Outside Asterisk, ODBC works fine, I can access my databases & tables !
Asterisk fails to
2010 Mar 10
2
Windows API to connect UnixOdbc is not functional in Wine
Hello,
I have configured Wine in Ubuntu 9.04 to use the built-in odbc32.dll which in turn uses the Linux's unixodbc package.
When I am trying to run my windows application which actually uses Windows API connecting to Unix ODBC is not working.
The API uses is SQLDriverConnect (), that returns me error
[unixODBC][Driver Manager]Can't open lib '/usr/lib/libtdsodbc.so' file not
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 =
2005 Feb 22
6
rodbc or unixodbc error
Hi,
I'm trying to establish a connection to a MySQL database, and am using the
rodbc package for it. This is in a GNU/Debian Linux box, with the
corresponding Debian unstable packages. I can login to my MySQL databases
from any shell and directory, so the problem is probably not there. Here's
an example of what I'm doing:
R> odbcConnect("test",
2006 Jun 19
1
[OT] HowtoConnectToMicrosoftSQLServerFromRailsOnLinux from Ubuntu
Hello all,
I am trying to connect to my remote MS SQL server from Ubuntu.
I have followed
HowtoConnectToMicrosoftSQLServerFromRailsOnLinux<http://http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux>as
best that I can.
TSQL is working, example below.
My configs are found below.
When I run isql :
> isql -v pubs name password
[IM002][unixODBC][Driver
2009 Apr 28
1
Asterisk 1.6 and CDR/MySQL
HI,
I am trying to setup CDR with ODBC and MySQL but get the following error :-
[Apr 28 21:30:01] ERROR[14567]: cdr_odbc.c:133 odbc_log: Unable to retrieve database handle. CDR failed.
I can successfully connect with iSQL so ODBCINST and ODBC ini files must be okay. I have modified /etc/asterisk/cdr_odbc.conf to include :-
[global]
dsn=asterisk
username=asterisk
password=*******
2005 Mar 11
1
Trouble with Realtime
Greetings,
I'm having some trouble with the realtime engines. When asterisk
loads, everything looks fine, there don't seem to be any problems via
notices or anything. Furthermore, cdr_odbc is working, and actively
logging my failed call attempts to db through ODBC using the same DSN.
unixODBC and the mysql drivers are installed from source.
Here are the relevant parts of the config:
2005 Mar 15
6
Realtime config
Having problems getting realtime working, I'm trying to use odbc for all
of this. I've got Fedora 3 and have been fighting with odbc for a day
now. I think I got it working correctly, however I can't seem to get the
realtime portion working. In asterisk 'odbc show' shows it connected, I
see it on my (odbc) mysql server connected and all, it connects and just
idles. So, without
2017 Nov 03
1
Maria 10 breaks unixodbc mysql connector
I think the solution may exist.
The compatibility of mysql-connector-odbc with maria may just means the
driver can access the mariadb - but my experience suggests not live on the
same host.
maria has its own connector:
https://downloads.mariadb.org/connector-odbc/
it does not look like this is in the sig, so I'll have to turn to the maria
repo.
I'll try replacing the driver first, then
2016 Feb 09
2
CDR ODBC error
I am trying to get cdr via odbc to work on Asterisk 13.7.2 but I
keep getting this error:
[Feb 9 16:21:43] WARNING[2088]: cdr_odbc.c:160 execute_cb: cdr_odbc:
Error in ExecDirect: -1, query is: INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield,peeraccount,linkedid,sequence)
VALUES ({ts
2004 Dec 31
1
Help With Configuration From Odbc
Hi. I can't figure this one out. Hope someone can help me.
root@pbx:# cat /etc/odbc.ini
[Asterisk]
Description=PostgreSQL asterisk
Driver=PostgreSQL
Trace=No
TraceFile=/tmp/odbc.log
Database=asterisk
ServerName=localhost
UserName=XXXX
Password=XXXX
Port=5432
Protocol=7.4
ReadOnly=No
RowVersioning=No
ShowSystemTables=Yes
ShowOidColumn=Yes
FakeOidIndex=Yes
ConnSettings=
2017 Oct 31
4
Maria 10 breaks unixodbc mysql connector
Thanks for each of your inputs.
It was not a configuration issue as odbcinst.ini does not reference the
mysql subdirectory.
Rather than use Alexander's url, I ran:
yum -y install centos-release-openstack-ocata
yum -y install mariadb-server
...the cloud repository provides the properly pathed file.
# repoquery -l mariadb-server mariadb-libs | grep lib64 | grep
libmysqlclient