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@mydomainto sip:user02@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 <[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