Displaying 5 results from an estimated 5 matches for "libmaodbc".
Did you mean:
libiodbc
2019 Oct 12
3
setting up ODBC for cdr logging into MariaDB
...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 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
/u...
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
2020 Jun 14
2
Any api (agi/ari/ami) equivalent of "core show calls"?
Way back in the mists of time, I built my asterisk installation with SNMP support.
It's a bit tedious to get the sub-agent for snmpd set up but once you have it you can poll the OID for the asterisk sub-agent and it will tell you how many calls are up at that
moment in time.
That said, I actually prefer ARA/ARI to flat file configuration of endpoints and dialplans. Changes are more or less
2020 Jun 14
0
Any api (agi/ari/ami) equivalent of "core show calls"?
...configs on a single server.
> The ODBC way is a pain, so I tend to just use the native MySQL method
Oh?
What makes you say ODBC is a pain? I have two files (/etc/odbc.ini and
/etc/idbcinst.ini, which are 8 lines and 3 lines in size respectively) and I
had to install one file /usr/local/lib/libmaodbc.so to make it work with
MariaDB.
What's easier about the native MySQL method?
> for ARA configuration as well as CDR collection. CDR reports are just a SQL
> query away.
Yes:
a) efficient
b) can be done on a machien remote from the call processing
c) is realtime - call ends, CDRs...
2020 Jul 12
2
Stir Shaken is upon us
...})
;same=n,SIPAddHeader(Identity:${Token}) ;OLD SIP CHANNEL
same=n,Set(PJSIP_HEADER(add,Identity)=${Token}) ; NEW PJSIP CHANNEL
same=n,Return()
/etc/odbcinst.ini or /etc/unixODBC/odbcinst.ini
[ODBC]
Trace=No
Trace File=/tmp/sql.log
Pooling=yes
[maria]
Description=ODBC for MySQL
Driver=/usr/lib64/libmaodbc.so
FileUsage=1
Threading=0
/etc/odbc.ini or /etc/unixODBC/odbc.ini
[strshk]
Description = MySQL ODBC Driver Testing
Driver = maria
Server = 208.73.232.47
#free testing service
User = anonymous
Password =
Database = strshk
Option = 3
res_odbc.conf
[strshk]
enabled=yes
dsn=strshk
sanitysql => se...