<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">The prepaid engine was designed for PSTN destinations using phone numbers only.&nbsp;<div><br></div><div>Adrian</div><div><br><div><div>On 11 Jun 2013, at 11:49, Leonardo Uzcudun &lt;<a href="mailto:uzcudunl@yahoo.it">uzcudunl@yahoo.it</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="background-color: rgb(255, 255, 255); font-family: verdana, helvetica, sans-serif; font-size: 10pt;">Hello Adrian:<br><br>From the following site (<a href="http://callcontrol.ag-projects.com/issues/1769#change-8449">http://callcontrol.ag-projects.com/issues/1769#change-8449</a>) 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<span class="Apple-converted-space">&nbsp;</span><a href="mailto:user01@example.com">user01@example.com</a><span class="Apple-converted-space">&nbsp;</span>and<span class="Apple-converted-space">&nbsp;</span><a href="mailto:user02@example.com">user02@example.com</a>, 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><span class="Apple-converted-space">&nbsp;</span>Adrian Georgescu &lt;<a href="mailto:ag@ag-projects.com">ag@ag-projects.com</a>&gt;<br><b><span style="font-weight: bold;">A:</span></b><span class="Apple-converted-space">&nbsp;</span>OpenSIPS users mailling list &lt;<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>&gt;<span class="Apple-converted-space">&nbsp;</span><br><b><span style="font-weight: bold;">Inviato:</span></b><span class="Apple-converted-space">&nbsp;</span>Luned́ 10 Giugno 2013 21:39<br><b><span style="font-weight: bold;">Oggetto:</span></b><span class="Apple-converted-space">&nbsp;</span>Re: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid<br></font></div><div class="y_msg_container"><br><div id="yiv5788870641">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><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="background-color: rgb(255, 255, 255); font-family: verdana, helvetica, sans-serif; font-size: 10pt;"><div><span>Hello All:<br></span></div><div style="font-size: 13.3333px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="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="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 class="Apple-converted-space">&nbsp;</span><span style="font-weight: bold;">DestId=None</span><br><br><span>and considering the rating.txt doc point<span class="Apple-converted-space">&nbsp;</span></span>3. Determination of the costs -&gt; No rate will be returned if no 'destination id' is found<span>.</span><div style="font-size: 13.3333px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="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="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><span class="Apple-converted-space">&nbsp;</span>leo &lt;<a rel="nofollow" ymailto="mailto:uzcudunl@yahoo.it" target="_blank" href="mailto:uzcudunl@yahoo.it">uzcudunl@yahoo.it</a>&gt;<br><b><span style="font-weight: bold;">A:</span></b><span class="Apple-converted-space">&nbsp;</span><a rel="nofollow" ymailto="mailto:users@lists.opensips.org" target="_blank" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><span class="Apple-converted-space">&nbsp;</span><br><b><span style="font-weight: bold;">Inviato:</span></b><span class="Apple-converted-space">&nbsp;</span>Venerd́ 7 Giugno 2013 9:38<br><b><span style="font-weight: bold;">Oggetto:</span></b><span class="Apple-converted-space">&nbsp;</span>[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:<span class="Apple-converted-space">&nbsp;</span><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<span class="Apple-converted-space">&nbsp;</span><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><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></blockquote></div><br></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>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div></blockquote></div><br></div></body></html>