[asterisk-users] RESET CDR

Jeff LaCoursiere jeff at jeff.net
Wed Sep 9 10:22:03 CDT 2009


On Wed, 9 Sep 2009, David Backeberg wrote:

> On Wed, Sep 9, 2009 at 10:12 AM, B.Masoud @ SH<info at saudihome.com> wrote:
>> I don't want to bill the first 30 seconds, that's all, why is that so
>> strange??? My line does not support polarity reversal, so I don't want to
>> bill for ringing the line...
>> Do you suggest different way than this?
>
> yes. Subtract 30 seconds from the billing when the call is completed.
>

Even easier - use the "billsecs" field of the CDR instead of the 
"totalsecs".  billsecs doesn't start counting until the call is answered.

j

> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list