Displaying 20 results from an estimated 9000 matches similar to: "CDR duration/billsec"
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 Feb 03
1
CDR / billsec / originate / local chan
Hi All,
I have been running a environment with asterisk 1.4.20.1 for some time
now with no issue but have recently added some extra functionality
(enabled call recording via MixMonitor) and ran into some deadlock
issues which seem to be well documented with earlier 1.4.x releases so
have decided to take the plunge and upgrade. I decided to start testing
with 1.6.2 but have run into a couple
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
2007 May 03
3
0 duration but non-zero billsec in mysql cdr
I was just going through my call records ( stored in mysql database
by cdr_MYSQL module ) and saw a record having duration = 0 and billsec
of more than 50 seconds . I did a query on cdr where duration <
billsec and saw that there were infact some 250 records with duration
less than billsecond ( table had around 4,00,000 records) . Did anyone
came across this ?
I also checked csv files and they
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
2006 Mar 20
3
Grabbing the billsec and duration after a hangup.
Hello,
I am wondering if someone has got any ideas that can help solve this
problem.
I have a dial plan that you call into, and depending on certain conditions
it calls out on a number grabbed from a database.
Something like this :
exten => s,n,Do something
exten => s,n,Do something else
exten => s,n,Dial(ZAP/g1/${OUTBOUND},${timeout})
I need to log the time the person
2007 Mar 20
3
wrong values in duration and billsec in CDR
Hi to all,
I was looking in google and also in this mailing list, but I dont find the
solution to my problem, so I subscribe me to the list in order to post this
e-mail and find the solution.
This is the scenario:
GSM Phone ----- GSM Network ---- TDM2406E --- ASterisk 1.4.0 (*) --------
VoIP Provider ------- Sip Phone or H323 Phone
The problem is that I am generating calls from SIP and also
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
2010 Aug 11
1
billsec exceeds duration on some calls
Hi
I'm having a problem with Asterisk 1.6.2.9 with the MySQL cdr addon.
With some calls, the value in the `billsec` field in the CDR is exceeding the
value in the `duration` field.
I didn't think this was supposed to happen? Our old installation (some
ancient version, sorry not available) always had `billsec` <= `duration`.
The problem does not seem to be evenly distributed
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 Aug 16
0
Getting cdr(billsec) 0 -- please help
Hi,
Here is the scenario:
Originating local channel using AMI.
On answering the channel, it will goes to a context.
Which start to playback a file.
& after hangup at h extension I am caliing an agi script which insert CDR
into DB.
Now the problem is when I script hangsup during payback CDR(billsec) returns
currect result.
But when it hangsup after playback cdr(billsec) returns 0 .
Please
2014 May 02
1
CDR billsec issue with calls forwarded through the Local channel
Hi
I'm using asterisk 1.8.23.1 but I've seen this same issue in previous
versions of 1.8. I have created some work arounds but the behaviour is
incorrect.
This is the scenario:
Call comes in and goes to appropriate dialplan
In the dialplan the call is forwarded to another number using a Local
channel (and using /n ) e.g.
Dial(Local/<my-number>@outbound-context/n,60)
The number is
2007 Aug 15
1
CDR billsec greater than duration
Hi all,
I have a strange situation on a Asterisk 1.2.17 with FreePBX 2.2.1
Doing a select in the CDR table I noticed there are some calls with
billsec greater than duration, duration is always 0 in those calls.
How can this happens ? Am I missing something ?
Tnx in advance
Regards
Edoardo Serra
WeBRainstorm S.r.l.
2009 Oct 28
1
CDR(billsec)
Hi people, when I try to get the billsec in the dialplan, it is 0... but if after that I check the database, it is right (not 0).
I'm trying to get it in the h extension, like:
exten => h,1,Noop(End)
exten => h,n,Noop(Time is ${CDR(billsec)})
....
Is it updated after the extension h is executed? In that case, how can I get the call duration in the h extension?
Thanks,
Anahi
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
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
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
2003 Jun 19
2
Billsec on CDR
I have an X100P and when I place calls to the PSTN which are not answered, the Billsec field of the CDR still logs the seconds that the phone rang.
Can someone please confirm that this has to do with the ringcadance of the indications.conf file? Is there anything else I need to check ?
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Aug 01
0
About CDR billsec when used TE410P
Dear All,
Situation (1) is
SIP agent -> Asterisk TE410P -> Telcom Mobile System
PRI debug Message type:
(just hear about Mobile System VoiceMail IVR introduction, hangup before
beep tone)
Message type: SETUP (5)
Message type: CALL PROCEEDING (2)
Message type: ALERTING (1)
Message type: DISCONNECT (69)
Message type: RELEASE (77)
Message type: RELEASE COMPLETE (90)
GSM Mobile still
2004 Jul 02
3
CDR shows billsec=12 for all bridged calles.
Can someone help me, im using latest CVS, asterisk and cdr_mysql, when I
make a bridge call (using .call files in outgoing/) I always get
'billsec=12' in the cdr, both mysql and Master file even if the call lasted
longer, watching the Master file while making a call I see it updated at 12
seconds even while im still 'in' the DIAL app and the call continues on just
fine.
Iv looked