[asterisk-bugs] [JIRA] (ASTERISK-15488) callee chanel overwrites the caller cdr

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Feb 25 21:23:34 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-15488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-15488.
----------------------------------

                  Resolution: Fixed
    Target Release Version/s: 12.0.0

> callee chanel overwrites the caller cdr
> ---------------------------------------
>
>                 Key: ASTERISK-15488
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-15488
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_local
>            Reporter: eagvoz
>            Severity: Minor
>      Target Release: 12.0.0
>
>         Attachments: cdr_diff.pdf
>
>
> When
> # contextA answers the call
> # contextA dials contextB (with local /n of course)
> # contextB answers the call
> we expect (as like asterisk 1.2 and asterisk 1.4):
> - That CDR of contextA has its own billsec (cdrA) and contextB its own billsec (cdrB).
> But in asterisk 1.6 we see:
> - when contextB answers the call it sets the billsec of cdrA equals to the billsec of cdrB.
> *STEPS TO REPRODUCE*
> With the following context we will expect
> - The duration of "A" CDR will be the length of "thanks-for-calling-today" sound + the time of calling context B
> - The billsec of "A" CDR will be equals duration because there are no waittings.
> - The duration of "B" CDR will be 3 + the length of "goodbye" sound
> - The billsec of "B" CDR will be the length of "goodbye" sound
> {noformat}
> [contextA]
> exten => s,1,NoOp(I'm contextA)
> exten => s,n,Set(CDR(accountcode)=A)
> exten => s,n,Answer()
> exten => s,n,PlayBack(thanks-for-calling-today)
> exten => s,n,Dial(Local/s at contextB/n)
> [contextB]
> exten => s,1,NoOp(I'm contextB)
> exten => s,n,Set(CDR(accountcode)=B)
> exten => s,n,Wait(3)
> exten => s,n,Answer()
> exten => s,n,PlayBack(goodbye)
> exten => s,n,Hangup
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list