[Asterisk-Users] ASTCC: different incriments

Ade Agbero agberocms at yahoo.co.uk
Sun Jul 31 16:51:19 MST 2005


Does this bug affect astcc users who do not charge a connect cost?

Rusty Shackleford <john97 at flatline.com> wrote:> -----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


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


		
---------------------------------
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050731/c54d98c9/attachment.htm


More information about the asterisk-users mailing list