Displaying 20 results from an estimated 20000 matches similar to: "ODBC Crash"
2005 Aug 18
1
asterisk with odbc
hello
i am trying to use res_odbc for sipuser. my connection
is working. i have checked using isql. even cdr_odbc
is working but i hav problem in res_odbc. i have
created user in sip_buddies table but asterisk is no
getting user from this sip_buddies table.
/etc/asterisk/extconfig.conf
[settings]
sipusers=>odbc,asterisk,sip_buddies
sippeers=>odbc,asterisk,sip_buddies
2005 Aug 23
0
asterisk problem with ODBC
hello
i m using asterisk-1.0.9. i want to connect to db
through odbc. isql is working. but asterisk is not
getting user information from this table. can any one
pls check this
odbc connection is working properly is there some
thing required
/etc/asterisk/extconfig.conf
[settings]
sipusers => odbc,mysql1,sip_buddies
sippeers => odbc,mysql1,sip_buddies
sip.conf =>
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
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
2005 Jan 14
0
troubles with getting odbc to load data
Hi
I'm using asterisk 1.0.3_1 from the freebsd ports.
Everything works ok, except I can's get res_config to populate sip.conf
(or any other conf file for that matter).
my unixodbc works and I can access the database with the isql tool. There
are no warnings or anything else in the asterisk log file indicating a
problem.
I have used the guide from
2008 Jul 10
1
res_odbc.conf and odbc show
I have a mixed PBX system with both Asterisk 1.4.21 and 1.2.27 (moving to 1.2.28).
For now I need to keep a few boxes in 1.2 and not migrate them all to 1.4.
However, I would like to have func_odbc and res_odbc on all servers.
On 1.4.21, native func_odbc seems to work fine.
On 1.2.27, the func_odbc backport is giving me an error (I know that this backport is not "officially supported"
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=
2006 Apr 11
0
HELP NEEDED: "odbc show" crashes Asterisk... and I have no idea of what is going on!!!
Hello there,
For some reason, Asterisk is crashing everytime that my system tries to do
anything related to ODBC. I would really appreciate if anyone could give me
ideas or pointers to the solution of this issue...
Here's what I've found out so far:
* I can run isql -v <my_dsn> <username> <password> without any problems
* Asterisk seems to crash everytime it finds
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
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
2005 Jun 28
2
Asterisk Realtime and ODBC
Hello all!
My basic problem is that we haven't been able to get realtime to use ODBC to
store configuration data. Here are the details:
We've installed Asterisk on a CentOS machine as follows:
1. Downloaded, compiled, and installed FreeTDS 0.63
2. Downloaded, compiled, and installed unixODBC 2.2.11
3. Downloaded, compiled, and installed Asterisk, Asterisk-Addons, and Zaptel
from CVS
2009 May 02
2
Asterisk and ODBC
Hi,
I am using a 64-bit RHEL 5 machine. I built Asterisk latest 1.6
branch. The system has ODBC and Postgres installed. psql, isql and odbc work
fine. Asterisk "make menuselect" for some reason does not see the installed
packages and refuses to build res_odbc and other packages. How do I force it
to do that? Is there a way to modify the output file from menuselect and
make it
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
2015 Feb 03
2
Problem with odbc connector with cdr
Hello,
I'm stuck with getting cdr records stored in MySql database. I have a
working realtime environment and have verified that the db connection works
fine when used via res_config_mysql.conf. I'd appreciate Your help on how
to get the odbc connector working as I think there's something wrong with
its configuration.
The problem presented itself as an error when making a call that
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
2011 Dec 16
3
ODBC problem - static realtime file not loading
Hi all
I'm trying to configure my Asterisk setup to load the musiconhold.conf file from an ODBC connection to MySQL, working through the example given in the excellent book "Asterisk: The Definite Guide". I'm using Asterisk 1.4.19 and MySQL 5.1.58. I've configured the ODBC bit and in my GeneralLog on MySQL I can see the asterisk user connecting and sending a few SQL
2013 Oct 14
1
realtime voicemail asterisk 11
Hi list, I'm trying to put my voicemail on asterisk realtime with 11.XX,
generate tables in a couple of files in the folder realtime / mysql ,
voicemail_messages.sql and voicemail.sql
the connection with mysql and odbc works well
isql asterisk useradmin xxx
+---------------------------------------+
| Connected! |
| |
|
2004 Aug 07
1
res_config_odbc not working
Hi,
Can somebody tell me what I've been doing wrong for the res_config_odbc not to work properly. I
already looked on the mailing list for some answer but I can't find one. The closes subject I
found is "res_odbc not working". Btw, I already followed BKW reply on that subject. I guessed the
log below can tell us res_odbc.so is succefully loaded, so it easy to presumed it
2005 Aug 23
1
asterisk+realtime
hello
i m using asterisk-1.0.9. i want to connect to db
through odbc. isql is working. but asterisk is not
getting user information from this table. can any one
pls check this
/etc/asterisk/extconfig.conf
[settings]
sipusers => odbc,mysql1,sip_buddies
sippeers => odbc,mysql1,sip_buddies
sip.conf => odbc,mysql1,sip_buddies
sipfriends => odbc,mysql1,sip_buddies
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