[asterisk-users] RESET CDR

B.Masoud @ SH info at saudihome.com
Wed Sep 9 19:54:18 CDT 2009


Yes that is the problem.
So what do you do when the line doesn't support polarity??
What is the best solution in this case?

Thanks.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ivan Stepaniuk
Sent: Thursday, September 10, 2009 12:02 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] RESET CDR

Todd Routhier wrote:
> 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.

He says that the line does not support polarity reversal. It really 
depends on the type of PSTN interface he is using, but this probably 
means that the duration and the billsecs fields are going to be the 
same, as the channel gets answered and the ring-back tone is also counted.

I would rather say that if you do not have a proper way to detect the 
call progress, the system is not reliable for billing your users.

The main problem with the 30 seconds solution is that you will have a 
lot of calls made without charge (ie: 3 seconds ringing, 20 seconds 
call). And you will also charge people for ringing a phone during more 
that 30 seconds (ie: calling my grandma)

_______________________________________________
-- 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