<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">There is Rating.txt document that contain sample rates files and examples of prepaid queries in the console that shows you how it works.&nbsp;<div><br></div><div>Adrian</div><div><br><div><div><br><div><div>On Jun 10, 2013, at 9:30 PM, Leonardo Uzcudun wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Hello All:<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span><br>
  </span></div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>After doing more tests i guess the problem is the missing DestId</span></div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>cdrtool log:</span></div>Jun&nbsp; 8 02:51:12 sip cdrtool[13359]: MaxSessionTime=unlimited 
Type=prepaid CallId=1226626922 BillingParty=user01@mydomain <span style="font-weight: bold;">DestId=None</span><br><br><span>and considering the rating.txt doc point </span>3. Determination of the costs -&gt; No rate will be returned if no 'destination id' is found<span>.</span>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br>
  <span> </span></div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>So, now my question is: If the Destination (cdrtool web portal -&gt; Rating -&gt; Destinations) must be a number (like 31 for the Netherlands), how will i match destination to mydomain?<br></span></div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: verdana,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span><br>
  </span></div>
Thanks,<br><br>Leo.<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 &lt;<a href="mailto:uzcudunl@yahoo.it">uzcudunl@yahoo.it</a>&gt;<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></div></body></html>