[OpenSIPS-Users] CDRTool - Callcontrol - Prepaid

Adrian Georgescu ag at ag-projects.com
Tue Jun 11 17:18:13 CEST 2013


You need to add pricing info in the other billing tables too.

Adrian

On Jun 11, 2013, at 3:24 PM, Leonardo Uzcudun wrote:

> Thanks again Adrian.
> You mean to insert in destinations (CDRtool web portal -> Rating -> Destinations) the user02 at example.com in the destination field?
> 
> Da: Adrian Georgescu <ag at ag-projects.com>
> A: OpenSIPS users mailling list <users at lists.opensips.org> 
> Inviato: Martedì 11 Giugno 2013 14:32
> Oggetto: Re: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid
> 
> Never tried it myself for prepaid but you can setup SIP URIs as valid destinations too and put a price on them. 
> 
> Adrian
> 
> On Jun 11, 2013, at 12:29 PM, Leonardo Uzcudun wrote:
> 
>> I guess this confirm why i can't use prepaid for calls between sip users..., do you confirm it?
>> Thanks.
>> 
>> Da: Adrian Georgescu <ag at ag-projects.com>
>> A: OpenSIPS users mailling list <users at lists.opensips.org> 
>> Inviato: Martedì 11 Giugno 2013 11:57
>> Oggetto: Re: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid
>> 
>> The prepaid engine was designed for PSTN destinations using phone numbers only. 
>> 
>> Adrian
>> 
>> On 11 Jun 2013, at 11:49, Leonardo Uzcudun <uzcudunl at yahoo.it> wrote:
>> 
>>> 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
>>> 
>>> 
>>> _______________________________________________
>>> 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
> 
> 
> _______________________________________________
> 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/8ff88d6b/attachment.htm>


More information about the Users mailing list