[asterisk-dev] CDR hangup_handler & ResetCDR

mohit mishra job.asterisk at gmail.com
Sat Jan 9 02:17:03 CST 2016


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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20160109/e364e0a1/attachment.html>


More information about the asterisk-dev mailing list