Displaying 20 results from an estimated 4000 matches similar to: "Adaptive CDR and default fields"
2014 Jan 11
1
Does cdr adaptive odbc re-connect automatically after a long idle time?
Hi all,
I use astersk 11.7.0 on Ubuntu 12.04.01 TLS (i386). I use cdr_adaptive_odbc
to write CDR to my MySQL's cdr table.
After my testing, this scenario is working well.
After a long idle time, I didn't make any call to the asterisk server.
When I try to make a call again after 8 hours, I found that the cdr lost.
It cannot be inserted to cdr table.
Also, I could not find the insert CDR
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
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
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
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
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 Apr 01
2
problem compiling asterisk with cdr_odbc
"make menuconfig" does not show cdr_odbc as a selectable compile option. I
have compiled and installed both unixODBC and freetds from source and have
verified both successfully connect to my sql server. Both were installed to
standard locations (/usr/lib). I had no problem compiling cdr_odbc on my
test server(CentOS 4.6), however following the same steps on my production
server (CentOS
2007 Dec 25
1
cdr_adaptive_odbc and custom rdms fields
Hi folks,
I was recently made aware that the only way to currently set custom fields
in a relational database for CDR is via the experimental cdr_adaptive_odbc
drivers found here:
http://svncommunity.digium.com/view/tilghman/branches/1.4/cdr_adaptive_odbc.c?view=log
I had no problem compiling the driver, and copied the module to
/usr/lib/asterisk/modules on my box and setup
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
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
2008 Sep 10
3
Write Asterisk CDR MySQL records to multiple servers
Hi to all, I actually have an asterisk server configured to write CDR mysql
records in the same machine (localhost), but I want to write this records to
another machine also in mysql at the same time, It is possible? It means
that I want save the records in both machines.
Thanks in advance.
Ricardo Melendez
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Jul 25
2
undocumented change in expression handling in 1.8 beta
Hi. I hava a variable and in 1.6 I set the string variable to "" and it
got the null string. In 1.8, it gets the quotes, I have to set it to
nothing at all to make it get the null value.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici at ccs.covici.com
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
2008 Dec 29
1
1.6, CDR and h extension
I have two version 1.6 Asterisks running. One is a small hobbyist
thing just at home, and the other is handling calls for several
customers.
On both, I have added the line
exten => h,1,Set(CDR(hangupcause)=${HANGUPCAUSE})
to all relevant contexts.
On my little hobbyist box this works perfectly; all calls have their
hangupcauses recorded with cdr_adaptive_odbc and cdr_custom. On the
2010 Jul 16
4
RFCFS - reload specified file
"Request For Comments on a Feature Suggestion" -- just wondering if others
would find this useful.
Frequently, when something really doesn't make sense, I like to bump up
the console logging by editing logger.conf and changing
console = error
to
console = debug,dtmf,error,event,info,notice,verbose,warning
and entering
logger reload
When done, I
2009 Feb 26
0
[cdr_odbc] error: Cannot insert the value NULL into column 'calldate'
Hi,
I am trying to get * log to mssql server. I have odbc and freetds
configured, but my insert query is missing calldate which is a NOT
NULL field in database schema.
cdr_adaptive_odbc: Insert failed on 'sqlserver:cdr'. CDR failed:
INSERT INTO cdr
(clid,src,dst,dcontext,channel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid)
VALUES
2010 Oct 25
0
CDR updating
Hi, I am using Asterisk 1.6.2.13 and have an issue but I'm not sure if
it's a bug or not. I am using the cdr_adaptive_odbc logging module and
writing my CDR records to a MS-SQL server. I need to log which end
hangs the call up and have placed the relevant
CDR(myfield)=caller/callee commands where they need to be.
When I watch the call on the console I can see the CDR field being set
2007 Jun 20
1
Res: Record CDR in a Oracle database
Hi All,
Thank's for your hint Tim Panton
I could connect my asterisk machine to my oracle machine.
I used unixODBC-2.2.11.tar.gz,
oracle-instantclient-basic-10.2.0.3-1.i386.rpm,
oracle-instantclient-sqlplus-10.2.0.3-1.i386.rpm and the drive from
www.oracle.com (odbc-oracle-3.1.0-linux-x86-glibc.tar) to configure my
asterisk machine.
I can connect to my oracle machine with isql and in
2015 Jun 26
1
Preserve CDR unique across multiple servers
I am already using the unique in both servers, but both generate different id?s, but i am unable to get the original one from the gateway box to store it in the final CDR?
--
Rui Mota
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Friday 26 June 2015 at 14:52, Tech Support wrote:
> Check out the ?uniqueid? parameter in cdr.conf and cdr_adaptive_odbc.conf.
> John V.
>