billsecs is a field in the CDR, it's already there.. Just don't bill based on the duration field, bill based on the billsecs field and you should have what you want.<br><br><br><div class="gmail_quote">On Wed, Sep 9, 2009 at 11:03 AM, B.Masoud @ SH <span dir="ltr"><<a href="mailto:info@saudihome.com">info@saudihome.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Can you provide me some code for that?<br>
I am NOOB<br>
<div class="im"><br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
</div><div class="im">[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of David<br>
Backeberg<br>
Sent: Wednesday, September 09, 2009 5:31 PM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: Re: [asterisk-users] RESET CDR<br>
<br>
</div><div><div></div><div class="h5">On Wed, Sep 9, 2009 at 10:12 AM, B.Masoud @ SH<<a href="mailto:info@saudihome.com">info@saudihome.com</a>> wrote:<br>
> I don't want to bill the first 30 seconds, that's all, why is that so<br>
> strange??? My line does not support polarity reversal, so I don't want to<br>
> bill for ringing the line...<br>
> Do you suggest different way than this?<br>
<br>
yes. Subtract 30 seconds from the billing when the call is completed.<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>