[Asterisk-Users] ASTCC: different incriments
Darren Wiebe
darren at aleph-com.net
Tue Aug 2 23:00:15 MST 2005
Please see comments inline.
Rusty Shackleford 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...)
>
>
:-) Increments should only come out of the brands table IMHO, but I'm
not sure how to fix it without causing breakage. Could be I just don't
have time. :-)
>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.
>
>
In ASTPP, I have added support to have different rates depending on the
brand. It would not be that hard to port to ASTCC but I'm not sure how
to do it without breaking existing installations.
>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.
>
>
On this subject, does anybody have feedback on the bug? They want
external testing feedback before doing anything with it.
http://bugs.digium.com/view.php?id=4479
Darren Wiebe
darren at aleph-com.net
More information about the asterisk-users
mailing list