[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] CDR hangup_handler & ResetCDR
From:       mohit mishra <job.asterisk () gmail ! com>
Date:       2016-01-09 8:29:03
Message-ID: CANP7hf-hxT6sJLdDWnVCh5qOjV30O44_4S4V7nSYRi7HkAxo0A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Actually call is already ANSWERED.So it's counting the billsec.

I had also suffered with this issue after that i used macro for solve it.

On Fri, Jan 8, 2016 at 6:51 PM, Ross Beer <ross.beer@outlook.com> wrote:

>  Hi,
>
> I have been working through the issue ASTERISK-25458 and have identified
> another issue with ResetCDR.
>
> It appears that the reset sets all variables to their defaults, however
> the billsec variable is not reset and therefore shows a value even if the
> call is not answered.
>
> For example I answer a call to play a prompt and the user selects if they
> wish to continue. If they continue the CDR is reset and the call
> progresses. If the far end does not answer the CDR shows the following:
>
>
> duration: 8
> billsec: 9
> disposition: No Answer
>
>
> I would have expected the billsec to be set to 0 as the call was not
> answered. Is the logic incorrect for the ResetCDR in this situation?
>
> Kind regards,
>
> Ross
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>

[Attachment #5 (text/html)]

<div dir="ltr">Actually call is already ANSWERED.So it&#39;s counting the \
billsec.<div><br></div><div>I had also suffered with this issue after that i used \
macro for solve it.</div></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Fri, Jan 8, 2016 at 6:51 PM, Ross Beer <span dir="ltr">&lt;<a \
href="mailto:ross.beer@outlook.com" \
target="_blank">ross.beer@outlook.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">


<div><div dir="ltr">  Hi,<br>  <br>I have been working through the issue \
ASTERISK-25458 and have identified another issue with ResetCDR.<br>  <br>It appears \
that the reset sets all variables to their defaults, however the billsec variable is \
not reset and therefore shows a value even if the call is not answered.<br>  <br>For \
example I answer a call to play a prompt and the user selects if they wish to \
continue. If they continue the CDR is reset and the call progresses. If the far end \
does not answer the CDR shows the following:<br>  <br><blockquote \
style="margin-right:0px" dir="ltr">duration: 8<br>billsec: 9<br>disposition: No \
Answer<br></blockquote>  <br>I would have expected the billsec to be set to 0 as the \
call was not answered. Is the logic incorrect for the ResetCDR in this situation?<br> \
<br>Kind regards,<span class="HOEnZb"><font color="#888888"><br>  <br>Ross<br> 		 	   \
</font></span></div></div> <br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" \
rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br> <br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
     <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" \
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br></div>




-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic