[OpenSIPS-Users] CDRTool - Callcontrol - Prepaid

Adrian Georgescu ag at ag-projects.com
Mon Jun 10 15:23:53 CEST 2013


You need to add the prepaid user and its balance to cdrtool prepaid table too.

Adrian

On Jun 10, 2013, at 2:17 PM, Leonardo Uzcudun wrote:

> Thanks Adrian for replying me but how do I enable it? The only note i've found in the cdrtool and callcontrol was to add the quote column to the opensips.subscriber (that i've already added it). Should i add another column?
> 
> 
> Da: Adrian Georgescu <ag at ag-projects.com>
> A: Leonardo Uzcudun <uzcudunl at yahoo.it>; OpenSIPS users mailling list <users at lists.opensips.org> 
> Inviato: Lunedì 10 Giugno 2013 13:45
> Oggetto: Re: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid
> 
> You must mark the user as prepaid in OpenSIPS subscribers table.
> 
> Adrian
> 
> On Jun 8, 2013, at 7:26 PM, Leonardo Uzcudun wrote:
> 
>> I guess, i've got some progress...but i can't understand why is not working.
>> Form the cdrtool logs i've:
>> 
>> Jun  8 02:51:12 sip cdrtool[13359]: MaxSessionTime Duration=36000 CallId=1226626922 From=sip:user01 at mydomain Gateway=X.X.X.X To=sip:user02 at mydomain
>> Jun  8 02:51:12 sip cdrtool[13359]: MaxSessionTime=unlimited Type=prepaid CallId=1226626922 BillingParty=user01 at mydomain DestId=None
>> now cdrtool says: Type=prepaid
>> 
>> but from the callcontrol:
>> Jun  8 02:51:12 sip call-control[29789]: Call id 1226626922 of user01 at mydomain to sip:user02 at mydomain is postpaid not limited
>> Why callcontrol has identified it as "postpaid not limited"?
>> 
>> My configuration is for a sigle domain, no PSTN.
>> Thanks for your help.... if someone could
>> 
>> 
>> 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/20130610/0f80d6f6/attachment-0001.htm>


More information about the Users mailing list