similar to: Asterisk 11 -CDR values changed in hangup handler not saved ?

Displaying 20 results from an estimated 3000 matches similar to: "Asterisk 11 -CDR values changed in hangup handler not saved ?"

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
2012 Nov 07
1
Random crash of the machine ? due to Asterisk 11
I experience random crash of machine (full hang, requiring a hard reset) after trying to test run Asterisk 11. The machine is a centos 5.8 32 bits pc with 1G ram. Asterisk is compiled from the source and no other software has been installed Anyone experience similar situation? -------------- next part -------------- An HTML attachment was scrubbed... URL:
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
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-04 06:28:44","2015-08-04
2007 Dec 06
3
CDR Function in Hangup Channel
So... I'm trying to access CDR(duration) and CDR(billsec) inside h... I keep getting 0. Can I access the CDR function inside a hangup extensions? Asterisk 1.4.13 Thanks, Doug. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
2011 Aug 05
1
No more CDR record for simple Hangup?
I am using the new 1.8.5 and I just found out that Asterisk won't record the call if the call just hangup. I did a test like this: exten => 1009, 1, Hangup() Then I called 1009: == Using UDPTL CoS mark 5 == Using SIP RTP CoS mark 5 -- Executing [1009 at init-1005:1] Hangup("SIP/1007-0000003c", "") in new stack == Spawn extension (init-1005, 1009, 1)
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(userfield) would be
2014 Nov 20
1
Error saving cdr at h exten in Asterisk13
Dears, I need to save some information on userfield when calls end in Asterisk13, but I have two error cases: 1. With endbeforehexten=no in cdr.conf, I have a registry in cdr, but userfield is not set. 2. With endbeforehexten=yes, I have two lines in cdr, one with duration, src e dst correct, and a second line with userfield setting and dst h. I am using cdr_odbc.conf, with Asterisk11.14.0 it
2012 Jan 04
4
Speech recognition in asterisk using google voice API
Hello, I have written an agi script that uses google voice API for voice recognition. The script records from the current channel untill the pound key (#) is pressed or the timeout (15 seconds) is reached. The recording is send over to google speech recognition service and the returned text string is assigned to a channel variable. More info and dialplan examples can be found in the README file:
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" extension so that CDR values such as "end" and "billsec" may
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
2008 Oct 09
2
Asterisk 1.6.0 CDR billsec and duration not working from h extension
Can someone tell me what I am doing wrong? Why doesn't CDR(duration) or CDR(billsec) return the correct values? cdr.conf endbeforehexten=yes extensions.conf [macro-Dial] ; ${ARG1} - Dial String exten => s,1,Dial(${ARG1},,M(post-dial)) exten => h,1,NoOp(Call was hung up - ${CDR(duration)} seconds long, billed for ${CDR(billsec)} seconds) The log shows: -- Executing [h
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 hangs up a CDR for User A is generated. (no CDR for user B)
2012 Dec 21
0
CDR written before hangup extension
asterisk 11.1 Documentation in cdr.conf for endbeforehexten reads: 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" extension and hangup handlers so that CDR values such as "end" and "billsec" may be retrieved inside of of this extension. I have
2015 Oct 09
2
Storing HANGUPCAUSE in CDR
This was always possible in the past, however does not work in the current release. I believe this is a bug. To: asterisk-users at lists.digium.com From: cervajs at fpf.slu.cz Date: Fri, 9 Oct 2015 10:04:47 +0200 Subject: Re: [asterisk-users] Storing HANGUPCAUSE in CDR search in archives save the records to another table like cdr_extended Dne
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
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
2011 Dec 28
1
cdr call time
Hi team, On event of no answer in CDR the starttime and endtime of call remains the same. Is there any way how can actually track call originate time and call end time. Thanks Vinod dharashive. Sent from BlackBerry? on Airtel
2010 Aug 18
1
CDR variables
Hello list! I am trying to get hold of ${CDR(duration)} and ${CDR(billsec)} variables in h It seems that these variables always return 0. I am using Asterisk version 1.6.2.11. Can't I get these values other than using CDR reccords ?? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 Feb 26
1
How to perform some tasks after the CDR has been closed?
Hi, I would like to do some tasks after the CDR has been closed, and the CDR(end), CDR(billsec) and CDR(duration) fields are available. I have tried to do that on the h extension, but it seems the CDR is not yet complete in the h extension. When is the CDR closed? How can I trigger some actions after that event? It would be nice if the channel is still available, since I need access to other