[Asterisk-Users] ASTCC: different incriments

Rusty Shackleford john97 at flatline.com
Tue Jul 26 20:51:43 MST 2005


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Ronald Wiplinger
> Sent: Tuesday, July 26, 2005 4:03 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] ASTCC: different incriments
> 
> 
> How can I fulfill that?
> 
> *Billing Increments*
> Continental USA: six (6) second increments.
> International: thirty (30) seconds minimum and six (6) 
> seconds thereafter.
> Mexico: sixty (60) seconds minimum and six (6) seconds thereafter.

The billing increment is set in the "brands" table. When you create
cards, this value is copied into the "inc" column in the "cards" table.
(I'll spare us the rant on normalization here...)

The per call minimum is set in the "includedseconds" column, in the
"routes" table. This value, along with the value of the "connectcost"
column for a given record (route) is used to compute the cost of the
call.

So, in theory, you set all your cards for 6 second increments, and you
set your routes to 6, 30, or 60 "includedseconds". 

That's the theory, but the stock ASTCC code has a bug in the way it
makes this computation. Darren has reopened the bug report. 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 07/25/2005
 




More information about the asterisk-users mailing list