<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt">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?<br><div><span><br></span></div><div><br></div> <div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">Da:</span></b> Adrian Georgescu <ag@ag-projects.com><br> <b><span style="font-weight: bold;">A:</span></b> Leonardo Uzcudun <uzcudunl@yahoo.it>; OpenSIPS users mailling list <users@lists.opensips.org> <br> <b><span style="font-weight: bold;">Inviato:</span></b> Luned́ 10 Giugno 2013 13:45<br> <b><span
style="font-weight: bold;">Oggetto:</span></b> Re: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid<br> </font> </div> <div class="y_msg_container"><br><div id="yiv9487578686"><div>You must mark the user as prepaid in OpenSIPS subscribers table.<div><br></div><div>Adrian<br><div><br><div><div>On Jun 8, 2013, at 7:26 PM, Leonardo Uzcudun wrote:</div><br class="yiv9487578686Apple-interchange-newline"><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:verdana, helvetica, sans-serif;font-size:10pt;">I guess, i've got some progress...but i can't understand why is not working.<br>Form the cdrtool logs i've:<br><br>
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<br>
Jun 8 02:51:12 sip cdrtool[13359]: MaxSessionTime=unlimited
Type=prepaid CallId=1226626922 BillingParty=user01@mydomain DestId=None<br>
now cdrtool says: Type=prepaid<br><br>but from the callcontrol:<span><br>Jun 8 02:51:12 sip call-control[29789]: Call id 1226626922 of </span>user01@mydomain<span> to sip:</span>user02@mydomain<span> is postpaid not limited<br>Why callcontrol has identified it as "</span><span>postpaid not limited"?<br><br>My configuration is for a sigle domain, no PSTN.<br>Thanks for your help.... if someone could<br><br></span><div><br></div> <div style="font-family:verdana, helvetica, sans-serif;font-size:10pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">Da:</span></b> leo <<a rel="nofollow" ymailto="mailto:uzcudunl@yahoo.it" target="_blank" href="mailto:uzcudunl@yahoo.it">uzcudunl@yahoo.it</a>><br> <b><span style="font-weight:bold;">A:</span></b> <a rel="nofollow" ymailto="mailto:users@lists.opensips.org" target="_blank"
href="mailto:users@lists.opensips.org">users@lists.opensips.org</a> <br> <b><span style="font-weight:bold;">Inviato:</span></b> Venerd́ 7 Giugno 2013 9:38<br> <b><span style="font-weight:bold;">Oggetto:</span></b>
[OpenSIPS-Users] CDRTool - Callcontrol - Prepaid<br> </font> </div> <div class="yiv9487578686y_msg_container"><br>Hello:<br><br>I need some help to understand the CDRTool - Callcontrol - Prepaid, all the<br>efforts i could do reading, searching and testing to try to understand how<br>it works were unsuccessful.<br><br>My set-up would be very simple, I would like to give credit (in seconds) to<br>the users and after the call is ended the call duration time should be<br>subtracted to its balance.<br><br>My first concern is how do i map a user in the opensips.subscriber<br>(DB.table) to the prepaid billing?<br>The second one would be, how would i configure the rating/quota/prepaid to<br>have my set-up?<br><br>Thanks for your help.<br><br>Leo.<br><br><br><br>--<br>View this message in context: <a rel="nofollow" target="_blank"
href="http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-Callcontrol-Prepaid-tp7586750.html">http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-Callcontrol-Prepaid-tp7586750.html</a><br>Sent from the OpenSIPS - Users mailing list archive at <a rel="nofollow" target="_blank" href="http://nabble.com/">Nabble.com</a>.<br><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a rel="nofollow" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br></div> </div> </div> </div></div>_______________________________________________<br>Users mailing list<br><a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></div></div></div><br><br></div> </div> </div> </div></body></html>