[asterisk-bugs] [Asterisk 0018212]: CDR's being written on caller hangup
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Nov 2 10:45:52 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18212
======================================================================
Reported By: leearcher
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18212
Category: CDR/cdr_adaptive_odbc
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: 1.6.2.13
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-10-26 03:00 CDT
Last Modified: 2010-11-02 10:45 CDT
======================================================================
Summary: CDR's being written on caller hangup
Description:
I have an issue where I need to log who hung up on the CDR. I have the
various CDR(whohungup)=XXX in the dial plan and can see this on the console
when I test each end hanging up first. However the CDR is written
instantly one party hangs up and not after all extensions have finished
executing the CDR(whohungup) has been changed. I have set
endbeforehexten=no in cdr.conf but this doesn't seem to make any
difference.
======================================================================
----------------------------------------------------------------------
(0128562) leearcher (reporter) - 2010-11-02 10:45
https://issues.asterisk.org/view.php?id=18212#c128562
----------------------------------------------------------------------
Depending on who hangs up depends on whether the CDR gets updated. By
default I am setting the value to Client and if they have up first its ok.
The problem is when the other party hangs up. Control returns to the
dialplan and I can see it updating the value
Executing [s at ti:65] Set("SIP/192.168.254.178-00000014",
"CDR(WhoHungUp)=Interpreter") in new stack
I've also put it into the hangup event but still the same thing.
Executing [h at ti:1] Set("SIP/192.168.254.178-00000014",
"CDR(WhoHungUp)=otherparty") in new stack
calldate clid duration billsec disposition accountcode callid dnid server language interpreterused numbercalled NoOfTries WhoHungUp
2010-11-02 15:36:21.000 "01132107511"
<01132107511> 17 6 ANSWERED 1 CA46E8ED-96E6-DF11-99C2-005056C00 2550 asterisktest 100 0012000000dQ1FCAA0 447791797676 1 Client
Issue History
Date Modified Username Field Change
======================================================================
2010-11-02 10:45 leearcher Note Added: 0128562
======================================================================
More information about the asterisk-bugs
mailing list