[OpenSIPS-Users] CDRTool - Callcontrol - Prepaid

Leonardo Uzcudun uzcudunl at yahoo.it
Mon Jun 10 16:05:57 CEST 2013


Yes, the subscriber user01 at mydomain (of course, mydomian is a valid domain) is in the cdrtool.prepaid. What do you mean with "You need to add the prepaid user and its balance to cdrtool prepaid table too" is there anywhere else that i should flag/mark the user as prepaid?

If you check the logs, the cdrtool is identifying it as prepaid (Type=prepaid):
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


I think the problem is that the cdrtool is answering MaxSessionTime=unlimited or DestId=None.
Thanks for your help,

Leo.



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


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 mydomainto sip:user02 at mydomainis 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
>

_______________________________________________
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/c417d913/attachment.htm>


More information about the Users mailing list