[asterisk-bugs] [Asterisk 0015928]: billsec not 0 for NO ANSWER calls
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Sep 22 23:46:07 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15928
======================================================================
Reported By: dharper
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15928
Category: CDR/General
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: 1.4.26.2
JIRA:
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-09-22 00:45 CDT
Last Modified: 2009-09-22 23:46 CDT
======================================================================
Summary: billsec not 0 for NO ANSWER calls
Description:
billsec is not 0 when a call is not answered.
ie the timeout is set to 25 on the dial command. cdr duration for a NO
ANSWER call is 27, billsec is 26. billsec should be 0.
We are using the cdr_addon_mysql as our cdr backend (from
asterisk-addons-1.4.8)
======================================================================
----------------------------------------------------------------------
(0111239) dharper (reporter) - 2009-09-22 23:46
https://issues.asterisk.org/view.php?id=15928#c111239
----------------------------------------------------------------------
Call is placed through an AMI Originate on a "Local" channel ....
Connected to Asterisk 1.4.26 currently running on dialer1 (pid = 29066)
Verbosity is at least 10
Core debug is at least 10
-- Executing [8014 at tcg-queue:1] Queue("Local/8014 at tcg-queue-da4d,2",
"8014") in new stack
-- Music class requested but no musiconhold loaded.
-- agent_call, call to agent '8014' call on 'SIP/132-b80b8240'
-- <SIP/132-b80b8240> Playing 'beep' (language 'en')
-- Agent/8014 answered Local/8014 at tcg-queue-da4d,2
> Channel Local/8014 at tcg-queue-da4d,1 was answered.
-- Executing [00150395319428 at tcg-outbound-var:1]
NoOp("Local/8014 at tcg-queue-da4d,1",
"tremayne-advdial-pri-var|0395319428|15") in new stack
-- Executing [00150395319428 at tcg-outbound-var:2]
Macro("Local/8014 at tcg-queue-da4d,1",
"tremayne-advdial-pri-var|0395319428|15") in new stack
-- Executing [s at macro-tremayne-advdial-pri-var:1]
NoOp("Local/8014 at tcg-queue-da4d,1", "PRI-Var-Macro-0395319428-15") in new
stack
-- Executing [s at macro-tremayne-advdial-pri-var:2]
Dial("Local/8014 at tcg-queue-da4d,1", "DAHDI/g1/18320395319428|15|g") in new
stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/18320395319428
-- Local/8014 at tcg-queue-da4d,1 requested special control 20, passing
it to DAHDI/1-1
-- DAHDI/1-1 is proceeding passing it to Local/8014 at tcg-queue-da4d,1
-- Local/8014 at tcg-queue-da4d,1 requested special control 20, passing
it to DAHDI/1-1
-- Local/8014 at tcg-queue-da4d,1 requested special control 20, passing
it to DAHDI/1-1
-- DAHDI/1-1 is ringing
-- Local/8014 at tcg-queue-da4d,1 requested special control 20, passing
it to DAHDI/1-1
-- Local/8014 at tcg-queue-da4d,1 requested special control 20, passing
it to DAHDI/1-1
-- Nobody picked up in 15000 ms
-- Hungup 'DAHDI/1-1'
-- Executing [s at macro-tremayne-advdial-pri-var:3]
NoOp("Local/8014 at tcg-queue-da4d,1", "Got Dialstatus NOANSWER") in new
stack
-- Executing [s at macro-tremayne-advdial-pri-var:4]
UserEvent("Local/8014 at tcg-queue-da4d,1", "DialCompleteEx|Account:
ProjectNotSet^SIP/132^0395319428^NOANSWER^0") in new stack
-- Executing [s at macro-tremayne-advdial-pri-var:5]
Set("Local/8014 at tcg-queue-da4d,1",
"CDR(userfield)=hangupcause:0^dialstatus:NOANSWER") in new stack
-- Executing [s at macro-tremayne-advdial-pri-var:6]
Hangup("Local/8014 at tcg-queue-da4d,1", "") in new stack
== Spawn extension (tcg-outbound-var, 00150395319428, 2) exited non-zero
on 'Local/8014 at tcg-queue-da4d,1'
-- Music class default requested but no musiconhold loaded.
== Spawn extension (tcg-queue, 8014, 1) exited non-zero on
'Local/8014 at tcg-queue-da4d,2'
CDR from MYSQL ....
| calldate | clid | src | dst | dcontext
| channel | dstchannel | lastapp | lastdata
| duration | billsec | disposition | amaflags | accountcode |
uniqueid | userfield | cdrid | cdrmed |
| 2009-09-23 14:38:17 | SIP/132 | |
00150395319428 | tcg-outbound-var | Local/8014 at tcg-queue-da4d,1 |
DAHDI/1-1 | Hangup | | 16 | 15 |
ANSWERED | 3 | ProjectNotSet | |
hangupcause:0^dialstatus:NOANSWER | 495676 | 0 |
Also isn't disposition is ANSWER instead of NOANSWER (ie $DIALSTATUS)?
Issue History
Date Modified Username Field Change
======================================================================
2009-09-22 23:46 dharper Note Added: 0111239
======================================================================
More information about the asterisk-bugs
mailing list