|
Thanks Tim.
I'm using oracle database trigger to calculate the
credit amount and add it to radreply:
at the conclusion of each call, i use trigger
to calculate the amount left according to calledstationid and username, the unit
price is also in the table. the formular is "amount left = amount left - amount
used" .
your fomular : "time left=time left-call
duration" can not be used at the conclusion of a call. To different
destination country code or area code, unit price is different. thus
time calculation should be used after user dial the destination phone
number and i'll check the unit price table in database to calculate
the time that use can use. the formular is: "time left = amount left
/ unit price", thus I think this calculation can only be used after
authorization request and before authorization response.
am i right? or you can explain to me in more
detail if i misunderstood your solution.
regards
Alex Zhang
|
- authorization Samuel Maftoul
- reformulating my problem - Re: authorization Samuel Maftoul
- Re: authorization Chris Parker
- Authorization Alex Zhang
- RE: Authorization Tim McCracken
- Re: Authorization Alex Zhang
- Re: Authorization Aleksandar Zhelyazkov
