[Asterisk-biz] atcc bounty $150

jltaylor jltaylor at metrotel.net
Wed Apr 27 14:31:48 MST 2005


I would like astcc modified to limit the number of minutes a DNIS can be
called in a day.
You could do this from CDR but then you have to calculate for each call
which might be a lot of processing.

I'm thinking about an additional table with fields:

card_number
dnis
minutes

card_number+dnis is key

after answer
check for card_number + dnis
if not found
  insert new record
else
 if less than threshold
   allow call
   after call
     update record
else
  play file with message

To make it simple, you could clear it out at midnight.

James Taylor
MetroTel
3505 Summerhill Road
Suite 11
Texarkana, Tx  75503
903-793-1956
 James Taylor
MetroTel
3505 Summerhill Road
Suite 11
Texarkana, Tx  75503
903-793-1956




More information about the asterisk-biz mailing list