<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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="Apple-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; position: static; z-index: auto; ">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 href="mailto:uzcudunl@yahoo.it">uzcudunl@yahoo.it</a>><br> <b><span style="font-weight: bold;">A:</span></b> <a 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="y_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 href="http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-Callcontrol-Prepaid-tp7586750.html" target="_blank">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 href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br></div> </div> </div> </div></div>_______________________________________________<br>Users mailing list<br><a 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></body></html>