There is Rating.txt document that contain sample rates files and examples of 
prepaid queries in the console that shows you how it works. 

Adrian


On Jun 10, 2013, at 9:30 PM, Leonardo Uzcudun wrote:

> Hello All:
> 
> After doing more tests i guess the problem is the missing DestId
> cdrtool log:
> Jun  8 02:51:12 sip cdrtool[13359]: MaxSessionTime=unlimited Type=prepaid 
> CallId=1226626922 BillingParty=user01@mydomain DestId=None
> 
> and considering the rating.txt doc point 3. Determination of the costs -> No 
> rate will be returned if no 'destination id' is found.
> 
> So, now my question is: If the Destination (cdrtool web portal -> Rating -> 
> Destinations) must be a number (like 31 for the Netherlands), how will i 
> match destination to mydomain?
> 
> Thanks,
> 
> Leo.
> Da: leo <[email protected]>
> A: [email protected] 
> Inviato: Venerdì 7 Giugno 2013 9:38
> Oggetto: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid
> 
> Hello:
> 
> I need some help to understand the CDRTool - Callcontrol - Prepaid, all the
> efforts i could do reading, searching and testing to try to understand how
> it works were unsuccessful.
> 
> My set-up would be very simple, I would like to give credit (in seconds) to
> the users and after the call is ended the call duration time should be
> subtracted to its balance.
> 
> My first concern is how do i map a user in the opensips.subscriber
> (DB.table) to the prepaid billing?
> The second one would be, how would i configure the rating/quota/prepaid to
> have my set-up?
> 
> Thanks for your help.
> 
> Leo.
> 
> 
> 
> --
> View this message in context: 
> http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-Callcontrol-Prepaid-tp7586750.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to