Displaying 18 results from an estimated 18 matches for "libodbcmys".
2019 Oct 12
3
setting up ODBC for cdr logging into MariaDB
...BC.
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 these odbc related libraries on my system. Which of those do I
have to use for `Driver =` ?
/usr/lib/x86_64-linux-gnu/libodbc.so
/usr/lib/x86_64-linux-gnu/libodbccr.so
/usr/lib/x86_64-linux-gnu/libodbcinst.so
/usr/lib/x86_64-linux-gnu/odbc/libesoobS.so
/usr/lib/...
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:
2008 Feb 23
2
MySQL Voicemail Storage Questions\Errors
...r PostgreSQL
#Driver = /usr/lib/libodbcpsql.so
#Setup = /usr/lib/libodbcpsqlS.so
#FileUsage = 1
# Driver from the MyODBC package
# Setup from the unixODBC package
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib64/libmyodbc3.so
Setup = /usr/lib64/libodbcmyS.so
FileUsage = 1
You have new mail in /var/spool/mail/root
[root at Aiur asterisk]# cat /etc/odbc.ini
[astrealtime]
Description = Asterisk realtime FUNC_ODBC access
Driver = MySQL
Socket = /var/lib/mysql/mysql.sock
Server = localhost
User = astrealtim...
2015 Feb 03
2
Problem with odbc connector with cdr
...risk]
Description = MySQL Asterisk database
Trace = Off
TraceFile = stderr
Driver = MySQL
SERVER = serverip
USER = myuser
PASSWORD = mypass
PORT = 3306
DATABASE = asterisk
And odbcinst.ini:
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib/libmyodbc5.so
Setup = /usr/lib/libodbcmyS.so
Driver64 = /usr/lib64/libmyodbc5.so
Setup64 = /usr/lib64/libodbcmyS.so
FileUsage = 1
And here I hit a wall, how can I fix the configuration?
MySQL-asterisk is referred to in res_odbc.conf, whose label is referred to
in cdr_odbc.conf. When the odbc connector starts working...
2009 May 05
1
Asterisk cdr_odbc problems
...er.
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 = /usr/lib/odbc/libodbcmyS.so
/etc/odbc.ini:
[asterisk]
Description = asterisk ODBC
Driver = MySQL
Socket = /var/run/mysqld/mysqld.sock
Server = localhost
User = asterisk
Password = mysql_password
Database = asterisk
Option = 3
#Port =
Tr...
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",
2015 Feb 03
0
Problem with odbc connector with cdr
...ceFile = stderr
> Driver = MySQL
> SERVER = serverip
> USER = myuser
> PASSWORD = mypass
> PORT = 3306
> DATABASE = asterisk
>
> And odbcinst.ini:
> [MySQL]
> Description = ODBC for MySQL
> Driver = /usr/lib/libmyodbc5.so
> Setup = /usr/lib/libodbcmyS.so
> Driver64 = /usr/lib64/libmyodbc5.so
> Setup64 = /usr/lib64/libodbcmyS.so
> FileUsage = 1
>
> And here I hit a wall, how can I fix the configuration?
>
>
> MySQL-asterisk is referred to in res_odbc.conf, whose label is referred to
> in cdr_odbc.co...
2010 Jan 12
1
FW: Problems connecting with MySQL using odbcDriverConnect (RODBC package) on Linux
...ed a
"data source not found" message (see below for details)
After reading through various documents, I tried doing following.
(1) Put an odbcinst.ini file in my home directory with following lines
[MySQL]
Description = ODBC for MySQL
Driver=/usr/lib64/libmyodbc3.so
Setup = /usr/lib/libodbcmyS.so
FileUsage = 1
(2) Install it with odbcinst -i -f. This seems to work as when I type
odbcinst -j I get
DRIVERS............: /home/jmarcus/odbcinst.ini
SYSTEM DATA SOURCES: /home/jmarcus/odbc.ini
USER DATA SOURCES..: /home/jmarcus/.odbc.ini
(2) Set the environment variable to point to this fil...
2005 Mar 15
6
Realtime config
...9;odbc show' shows it connected, I
see it on my (odbc) mysql server connected and all, it connects and just
idles. So, without saying too much more here's the configs:
odbcinst.ini
[mysql]
Description = ODBC for MySQL
Driver = /usr/lib/libmyodbc3.so
Setup = /usr/lib/libodbcmyS.so
FileUsage = 1
odbc.ini
---
Description = Asterisk MySQL Connection
Trace = off
TraceFile = stderr
Driver = mysql
Server = blah.blah
User = blah
Password = blah
port = 3306
database = asterisk
extconfig.conf
iaxfriends => odbc,asterisk,sip_users
sipfriends => odbc,asterisk,sip_use...
2009 Feb 12
4
Rails & unixODBC
...o
-rw-r--r-- 1 root root 67604 2008-09-01 03:14 libnn.so
-rw-r--r-- 1 root root 5336 2008-09-01 03:14 libodbcdrvcfg1S.so
-rw-r--r-- 1 root root 5328 2008-09-01 03:14 libodbcdrvcfg2S.so
-rw-r--r-- 1 root root 5388 2008-09-01 03:14 libodbcminiS.so
-rw-r--r-- 1 root root 9440 2008-09-01 03:14 libodbcmyS.so
-rw-r--r-- 1 root root 5332 2008-09-01 03:14 libodbcnnS.so
-rw-r--r-- 1 root root 5424 2008-09-01 03:14 libodbcpsqlS.so
-rw-r--r-- 1 root root 148972 2008-09-01 03:14 libodbctxt.so
-rw-r--r-- 1 root root 5352 2008-09-01 03:14 libodbctxtS.so
-rw-r--r-- 1 root root 9720 2008-09-01 03:14 li...
2006 Oct 29
1
Asterisk Voicemail with ODBC Realtime Access
...message : "res_config_odbc.c:
SQL Alloc Handle failed!" when I try to access the voicemail.
Any ideas would be more than welcome !
Thanks !
*Here is my config*
/etc/odbcinst.ini
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib/libmyodbc.so
Setup = /usr/lib/libodbcmyS.so
FileUsage = 1
/etc/odbc.ini
[MySQLast]
Description = MySQL ODBC Driver Testing
Driver = MySQL
#Socket = /var/run/mysqld/mysqld.sock
Trace = Yes
TraceFile = odbc_mysql.log
Server = localhost
User = asteriskuser
Password = amp1...
2010 Jan 12
0
Problems connecting with MySQL using odbcDriverConnect (RODBC package) on Linux
...ed a
"data source not found" message (see below for details)
After reading through various documents, I tried doing following.
(1) Put an odbcinst.ini file in my home directory with following lines
[MySQL]
Description = ODBC for MySQL
Driver=/usr/lib64/libmyodbc3.so
Setup = /usr/lib/libodbcmyS.so
FileUsage = 1
(2) Install it with odbcinst -i -f. This seems to work as when I type
odbcinst -j I get
DRIVERS............: /home/jmarcus/odbcinst.ini
SYSTEM DATA SOURCES: /home/jmarcus/odbc.ini
USER DATA SOURCES..: /home/jmarcus/.odbc.ini
(2) Set the environment variable to point to this fil...
2007 Oct 01
1
ODBC version for cdr?
...unixODBC-2.2.11-7.1
unixODBC-devel-2.2.11-7.1
mysql-connector-odbc-3.51.12-2.2
mysql-5.0.22-2.1
Contents of odbcinst.ini
# Driver from the MyODBC package
# Setup from the unixODBC package
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib/libmyodbc.so
Setup = /usr/lib/libodbcmyS.so
FileUsage = 1
checking for SQLConnect in -lodbc... no
configure: ***
configure: *** The unixODBC installation on this system appears to be broken.
configure: *** Either correct the installation, or run configure
configure: *** without explicitly specifying --with-odbc
--
-----
Chris S...
2006 Nov 05
1
Reading Voicemail Config from MySQL
Hi all,
I have been trying to get my asterisk (v1.2.10) to lookup voicemail
config data from my mysql database as opposed to voicemail.conf +
sip.conf for my users. Users register with SER and get passed through
to asterisk when they dial out. I followed the instructions as per
http://www.voip-info.org/wiki/view/Asterisk+voicemail+database
so basically I have
1) Build asterisk-addons-1.2.5 and
1999 Jan 23
4
smbwrapper
> What you are looking for is smbwrapper, which is in fact included with
Samba
> 2.0. However as it is not supported on all systems it is not included
> in the default build (it should work nicely on Solaris though).
> Essentially smbwrapper is a preloaded library which intercepts system
calls and
> simulates a /smb filesystem, so you can access /smb/SERVER/SHARE/file.txt.
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
2005 Jul 27
5
cdr_mysql does not write to mysql db
Hi,
I configured cdr_mysql (addons 1.0.9) to write the cdr records to the mysql db.
The problem is that no records are written to the db. Why?
I can import the csv-file to the db. so i assume the db is setup correct.
Is there any chance to get debug from cdr_mysql to find his problem?
This is my cdr_mysql.conf file:
[global]
hostname=localhost
dbname=cdr
password=passw0rd
user=root
;port=3306
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