<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt">Hello Adrian:<br><br>From the following site (http://callcontrol.ag-projects.com/issues/1769#change-8449) i've found that you say "All internals of CDRTool rely on the fact that there is a normalized URI in the form of 00 + Country Code + Number."<br>So, my question or doubt is:<br>If there are 2 sip users within the same domain like user01@example.com and user02@example.com, can i implement prepaid billing between them or the prepaid will only work if they call to 00 + Country Code + Number sip accounts?<br>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> Adrian Georgescu
<ag@ag-projects.com><br> <b><span style="font-weight: bold;">A:</span></b> OpenSIPS users mailling list <users@lists.opensips.org> <br> <b><span style="font-weight: bold;">Inviato:</span></b> Luned́ 10 Giugno 2013 21:39<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="yiv5788870641"><div>There is Rating.txt document that contain sample rates files and examples of prepaid queries in the console that shows you how it works. <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="yiv5788870641Apple-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 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 -> 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 -> Rating -> 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 <<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="yiv5788870641y_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></div><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></body></html>