Where are the fields "last_call_price, destination" of table prepaid?
And where can I find the updated version of Rating.Txt? (I would like
to have information about the meaning of new functions,
prepaid_history, prepaid_cards,...)

Re: CDRTool 6.9.1 prepaid error and info

The domain field lurked around in my testbed but it should not be used
anymore. I fixed this in darcs tree you can fetch manually library/
rating.php from it if you do not want to wait until the next release.

Re: CDRTool 6.9.1 prepaid error and info

> Hi all,
>
> I have some problems in configuring CDRTool 6.9.1 (prepaid).
> When I try to insert a new prepaid account from the web interface I
> have:
>
> "Database error for query insert into prepaid
> ( reseller_id,account,balance,session_counter,domain) values ( '0','[hidden email]> ','10','0',SUBSTRING_INDEX(account, '@',-1)) : Unknown column 'domain'
> in 'field list' (1054)"
>
> Where are the fields "last_call_price, destination" of table prepaid?
> And where can I find the updated version of Rating.Txt? (I would like
> to have information about the meaning of new functions,
> prepaid_history,

prepaid_history table stores the debit and credit transactions made
for each prepaid account.

> prepaid_cards,...)
>

prepaid_cards table is a mere storage for prepaid cards with
associated balance values. You can create your own external
functionality to read from it and add the balance from the card to a
prepaid account. The idea is that the actual card reloading is done
not within CDRTool itself but in an external application that has
access to credit card processing and there is the place that can use
such storage. For convenience, creating random cards can be done from
within CDRTool but moving the balance between a card and an account is
something you have to implement yourself outside CDRTool.

In any case you do not necessary need that table for the prepaid
functionality, it works without it.