search for: cdr

Displaying 20 results from an estimated 2354 matches for "cdr".

Did you mean: cd
2008 Feb 01
0
call log notice messages
I am getting quite a lot of these notices: Feb 1 10:22:01 NOTICE[2487] cdr.c: CDR on channel 'mISDN/3-2' not posted Feb 1 10:22:01 NOTICE[2487] cdr.c: CDR on channel 'mISDN/3-2' lacks end Feb 1 10:22:06 NOTICE[2471] cdr.c: CDR on channel 'mISDN/3-1' not posted Feb 1 10:22:06 NOTICE[2471] cdr.c: CDR on channel 'mISDN/3-1' lacks end Feb 1...
2013 Mar 29
1
Asterisk 11 - Change CDR in hangup exten [Was: CDR values changed in hangup handler not saved]
2013/3/29 Julian Lyndon-Smith <asterisk at dotr.com> > check out the endbeforehexten option in cdr.conf > > this needs to set to "yes" > > Julian > Unfortunately, this doesn't help. Let's drop the hangup handler at the moment, and focus on the "saving to file" part. Then my issue is I can't update CDR value is hangup exten. Here is a dialplan th...
2018 Feb 20
2
Modifying CDR values from a hangup extension in Asterisk 13
Hi, Reading this old thread, may I ask if keeping hangup handlers from updating CDR values still enforced in Asterisk 15 ? If positive, would it be very complex to add in Asterisk, a configuration option allowing a system administrator to list in cdr.conf, the CDR fields allowed to be updated in hangup handlers ? I'm planning to store some RTCP stats. Saving them in CDR(userf...
2015 Aug 04
2
Modifying CDR values from a hangup extension in Asterisk 13
With endbeforehexten=no I actually get two CDR entries. One for the call and a second one for the "h" extension. "","13","10","sip-locals","""13"" <13>","SIP/13-00000006","SIP/10-00000007","Dial","SIP/10","2015-08...
2007 Aug 07
1
.call file and logging
...sterisk, not by a user) and calling out real users. So the user's extension is specified in the "Channel: " field. When the user picks the phone up, asterisk drops into the custom_NOTIFY context which plays a menu. My problem is that when I check the logs in /var/log or in the MySQL CDR database, I can't always demonstrate that Asterisk actually called a specific number (in the code below, the number I need to log is $alerts). If I use a SIP extension in the Channel field then the logging works for me because I can see that the SIP/EXTEN was used (see below). However, if I u...
2015 Aug 03
2
Modifying CDR values from a hangup extension in Asterisk 13
Hi, I'm trying to migrate from Asterisk 1.8 to Asterisk 13 and can't figure this one out. I'm pretty sure the question has been already asked, but I failed to find a solution. Can you modify CDR values in an h-extension? My cdr.conf contains: [general] enable=yes unanswered=yes endbeforehexten=yes initiatedseconds=no batch=no The diaplan contains a simple "h" extension exten => h,1,NoOp(${CDR(userfield)}) exten => h,n,Set(CDR(userfield)=changed) exten => h,n,NoOp(${CDR...
2010 Dec 22
8
Possible Bug (Include ${HANGUPCAUSE} in CDR)
Ok I can't get my CDR values to set from the h extension in either 1.6.2 or 1.8 What is wrong? Here is what I found in the cdr.conf ; Normally, CDR's are not closed out until after all extensions are finished ; executing. By enabling this option, the CDR will be ended before executing ; the "h" exten...
2006 Jun 05
2
Duplicate CDRs
Hi For whatever reason we've getting 2 or 3 CDR lines logged for each call, often in different formats: as1:~# grep test-89-1e2c /var/log/asterisk/cdr-csv/*.csv /var/log/asterisk/cdr-csv/67.csv:"67","88","89","test-context","88","SIP/test-88-2dae","SIP/test-89-1e2c","Di...
2006 Jun 17
1
ODBC cdr tearing my hair out
svn trunk. I'm trying to get cdr to work with my odbc database. I have followed a checklist that I had previously but still can't get it to work. There are no errors (verbose 40 and debug 40), I get [cdr_odbc.so] => (ODBC CDR Backend) == Parsing '/etc/asterisk/cdr_odbc.conf': Found *CLI> cdr status CDR log...
2010 Jun 18
1
What's diff between ${CDR(start)} , ${CDR(answer)} , ${CDR(calldate)}
hi,all for a long time, i cant understand the difference between ${CDR(calldate)} and ${CDR(start)} , ${CDR(answer)} i know ${CDR(start)} mean when a call is start. and ${CDR(answer)} means when a call was pick up. but what's ${CDR(calldate)} mean? Could you help me ? Thansk a lot! -- Thanks for your supporting, have a nice day. Sucan
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 at...
2014 Jul 18
0
How to get 2 CDR Records of 2 outgoing calls bridge
Hi all, I need 2 CDR Records of below 2 numbers for outgoing calls, detail is given as below: *96XXXXXXXX88XXXXXXXX* *=> Call file : outbound call generate through below file* Test.call ====== Channel: local/s at outgoing/n WaitTime: 45 Context: outgoing_ivrs Extension: s Priority: 1 Set: contact_no=96XXXXXXXX...
2010 Jan 27
2
CDR problems with Queue
Hi, I'm having problems with CDR's and Queues in Asterisk 1.6.1. Heres three examples: Normal call: User A calls in to asterisk, gets a PlayFile, and hangs up. This gives 1 CDR as expected. Call to a Queue and then a playfile afterwards: User A calls into asterisk, goes into a queue, asterisk calls user B. When user B h...
2007 Dec 06
3
Setting custom field in CDR
Hi, The Asterisk Wiki (page: http://www.voip-info.org/wiki/view/Asterisk+func+cdr) mentions I can set any custom CDR field I want. Here is the example it gives: ; Update our accountcode field and then save some random music facts too exten => s,1,Set(CDR(accountcode)=8675309) exten => s,2,Set(CDR(MyFavoriteBand)=Foo Fighters) exten => s,3,Set(CDR(MyFavoriteSong)=H...
2007 May 02
0
cdr on channel lacks end, not posted
hello, I'm getting a lot of messages in the log file like : May 2 17:12:07 NOTICE[15877] cdr.c: CDR on channel ' Local/1913@from-internal-a363,2' not posted May 2 17:12:07 NOTICE[15877] cdr.c: CDR on channel ' Local/1913@from-internal-a363,2' lacks end May 2 17:12:07 WARNING[15901] func_db.c: DB requires an argument, DB(<family>/<key>) May 2 17:12:07 NOTICE[1...
2011 Jan 28
1
CDR issue - Problem logging CDR(userfield) in Master.csv
Dear all, I am having an issue with CDR logging. What I want to do is log jitter variable from RTPAUDIOQOS module into Master.csv at the end of each call. I am using asterisk version 1.4.26. For CDR purposes, I am using cdr_custom, and the content of my cdr_custom.conf is the following: [mappings] Master.csv => ${CDR(dstchannel)}...
2007 Dec 27
3
CDR
Hi Steve, > .. I'll try to sort all this out, and then I'll attack this > problem. Hopefully, I get it all into svn before the next release of > 1.4...! Just wondering if any new CDR functionality made it into the 1.4.16.2 release? I have looked through the ChangeLog for the 1.4.15 and 1.4.16.2 releases but didn't spot anything to do with changes in CDR handling. I for one still have big problems with CDR's for blind transfer and attended transfer calls. - For Blind T...
2008 Jan 09
2
Set CDR userfield in a realtime dialplan
Hello, I'm using Asterisk with Realtime extensions and ODBC CDR. And I'm have some trouble with the CDR userfield that is not changed when using the SET command in the realtime dialplan. In my dialplan (extensions.conf, the file) I'm setting the userfield like this : exten => s,n,Set(CDR(userfield)="X") Later, my dialplan switches to the...
2015 Oct 07
2
Storing HANGUPCAUSE in CDR
Hi, I have the following code that operates when a channel is hung-up: [record-hangupcause]exten => 1,n,Set(CDR(hangupcause)=${HANGUPCAUSE})exten => s,n,Return() Before the dial a hangup handler is registered: Set(CHANNEL(hangup_handler_push)=record-hangupcause,s,1) The routine is called and the variables are being set, however not on the channel's CDR which made the call. I believe this is due to the...
2010 Mar 15
1
CDR: Add Dialed Number Identifierfield (DNID) field into MySQL
Hi, I would like to see the DNID in my MySQL CDR logs. I have read one big thread in the Asterisk Developer List, but I could not figure out how to implement it ? Is there a simple step-by-step. Thx in advance. Vai