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 <[email protected]> > A: Leonardo Uzcudun <[email protected]>; OpenSIPS users mailling list > <[email protected]> > 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@mydomain Gateway=X.X.X.X >> To=sip:user02@mydomain >> Jun 8 02:51:12 sip cdrtool[13359]: MaxSessionTime=unlimited Type=prepaid >> CallId=1226626922 BillingParty=user01@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@mydomain to sip:user02@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 <[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
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
