[OpenSIPS-Users] CDRTool - Callcontrol - Prepaid

Leonardo Uzcudun uzcudunl at yahoo.it
Tue Jun 11 11:49:53 CEST 2013


Hello Adrian:

From the following site (http://callcontrol.ag-projects.com/issues/1769#change-8449) i've found that you say "All internals of CDRTool rely on the fact that there is a normalized URI in the form of 00 + Country Code  + Number."
So, my question or doubt is:
If there are 2 sip users within the same domain like user01 at example.com and user02 at example.com, can i implement prepaid billing between them or the prepaid will only work if they call to 00 + Country Code  + Number sip accounts?
Thanks,

Leo

________________________________
 Da: Adrian Georgescu <ag at ag-projects.com>
A: OpenSIPS users mailling list <users at lists.opensips.org> 
Inviato: Lunedì 10 Giugno 2013 21:39
Oggetto: Re: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid
 


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 at 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 <uzcudunl at yahoo.it>
>A: users at lists.opensips.org 
>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
>Users at lists.opensips.org
>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>_______________________________________________
>Users mailing list
>Users at lists.opensips.org
>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130611/9ed28725/attachment.htm>


More information about the Users mailing list