[asterisk-bugs] [Asterisk 0012946]: ResetCDR not work now on non-answered channel
noreply at bugs.digium.com
noreply at bugs.digium.com
Sat Jun 28 21:33:21 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12946
======================================================================
Reported By: meral
Assigned To: murf
======================================================================
Project: Asterisk
Issue ID: 12946
Category: CDR/General
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
Asterisk Version: 1.4.20
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 06-28-2008 20:50 CDT
Last Modified: 06-28-2008 21:33 CDT
======================================================================
Summary: ResetCDR not work now on non-answered channel
Description:
i am using resetCDR(w) for re-setup cdr and post prevous one
when channel is answered, resetCDr(w) works as documented
so:
exten =>s,1,Answer
exten =>s,n,ResetCDR(w)
exten =>s,n,ResetCDR(w)
produce 3 records
but if channel unanswered,then
exten =>s,1,ResetCDR(w)
exten =>s,n,ResetCDR(w)
produce only 1 record.
======================================================================
----------------------------------------------------------------------
meral - 06-28-08 21:33
----------------------------------------------------------------------
same behavour. nothing changes
with answer:
-- Executing Answer("SIP/67.213.69.43-08f8f920", "")
-- Executing Set("SIP/67.213.69.43-08f8f920", "CDR(accountcode)=122")
-- Executing Set("SIP/67.213.69.43-08f8f920",
"incoming_did=123456789")
-- Executing NOOP("SIP/67.213.69.43-08f8f920", "incoming_macros=4")
-- Executing Set("SIP/67.213.69.43-08f8f920",
"CDR(userfield)=123456789:INCOMING CALL to ivr")
-- Executing Macro("SIP/67.213.69.43-08f8f920", "inc_4|122|86")
-- Executing [s at macro-inc_4:1] ResetCDR("SIP/67.213.69.43-08f8f920",
"w") in new stack
> cdr_odbc: Query Successful!
WITHOUT answer
-- Executing Noop("SIP/67.213.69.43-08f8f920", "")
-- Executing Set("SIP/67.213.69.43-08f8f920", "CDR(accountcode)=122")
-- Executing Set("SIP/67.213.69.43-08f8f920",
"incoming_did=123456789")
-- Executing NOOP("SIP/67.213.69.43-08f8f920", "incoming_macros=4")
-- Executing Set("SIP/67.213.69.43-08f8f920",
"CDR(userfield)=123456789:INCOMING CALL to ivr")
-- Executing Macro("SIP/67.213.69.43-08f8f920", "inc_4|122|86")
-- Executing [s at macro-inc_4:1] ResetCDR("SIP/67.213.69.43-08f8f920",
"w") in new stack
-- Executing [s at macro-inc_4:2] Set("SIP/67.213.69.43-08f8f920",
"CDR(accountcode)=122") in new stack
Issue History
Date Modified Username Field Change
======================================================================
06-28-08 21:33 meral Note Added: 0089409
======================================================================
More information about the asterisk-bugs
mailing list