<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Never tried it myself for prepaid but you can setup SIP URIs as valid destinations too and put a price on them. <div><br></div><div>Adrian<br><div><br><div><div>On Jun 11, 2013, at 12:29 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">I guess this confirm why i can't use prepaid for calls between sip users..., do you confirm it?<br>Thanks.<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 <<a href="mailto:ag@ag-projects.com">ag@ag-projects.com</a>><br> <b><span style="font-weight: bold;">A:</span></b> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>> <br> <b><span style="font-weight: bold;">Inviato:</span></b> Marted́ 11 Giugno 2013 11:57<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="yiv7945308966"><div>The prepaid
engine was designed for PSTN destinations using phone numbers only. <div><br></div><div>Adrian</div><div><br><div><div>On 11 Jun 2013, at 11:49, Leonardo Uzcudun <<a rel="nofollow" ymailto="mailto:uzcudunl@yahoo.it" target="_blank" href="mailto:uzcudunl@yahoo.it">uzcudunl@yahoo.it</a>> wrote:</div><br class="yiv7945308966Apple-interchange-newline"><blockquote type="cite"><div style="letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing: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 rel="nofollow" target="_blank" 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="yiv7945308966Apple-converted-space"> </span><a rel="nofollow" ymailto="mailto:user01@example.com" target="_blank" href="mailto:user01@example.com">user01@example.com</a><span class="yiv7945308966Apple-converted-space"> </span>and<span class="yiv7945308966Apple-converted-space"> </span><a rel="nofollow" ymailto="mailto:user02@example.com" target="_blank" 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="yiv7945308966Apple-converted-space"> </span>Adrian Georgescu <<a rel="nofollow" ymailto="mailto:ag@ag-projects.com" target="_blank" href="mailto:ag@ag-projects.com">ag@ag-projects.com</a>><br><b><span style="font-weight:bold;">A:</span></b><span class="yiv7945308966Apple-converted-space"> </span>OpenSIPS users mailling list <<a rel="nofollow" ymailto="mailto:users@lists.opensips.org" target="_blank" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><span class="yiv7945308966Apple-converted-space"> </span><br><b><span style="font-weight:bold;">Inviato:</span></b><span class="yiv7945308966Apple-converted-space"> </span>Luned́ 10 Giugno 2013 21:39<br><b><span style="font-weight:bold;">Oggetto:</span></b><span class="yiv7945308966Apple-converted-space"> </span>Re: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid<br></font></div><div class="yiv7945308966y_msg_container"><br><div id="yiv7945308966">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><br><div><div>On Jun 10, 2013, at 9:30 PM, Leonardo Uzcudun wrote:</div><br class="yiv7945308966Apple-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 8 02:51:12 sip cdrtool[13359]: MaxSessionTime=unlimited Type=prepaid CallId=1226626922 BillingParty=user01@mydomain<span class="yiv7945308966Apple-converted-space"> </span><span style="font-weight:bold;">DestId=None</span><br><br><span>and considering the rating.txt doc point<span class="yiv7945308966Apple-converted-space"> </span></span>3. Determination of the costs -> 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 -> Rating -> 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="yiv7945308966Apple-converted-space"> </span>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><span class="yiv7945308966Apple-converted-space"> </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="yiv7945308966Apple-converted-space"> </span><br><b><span style="font-weight:bold;">Inviato:</span></b><span class="yiv7945308966Apple-converted-space"> </span>Venerd́ 7 Giugno 2013 9:38<br><b><span style="font-weight:bold;">Oggetto:</span></b><span class="yiv7945308966Apple-converted-space"> </span>[OpenSIPS-Users] CDRTool - Callcontrol - Prepaid<br></font></div><div class="yiv7945308966y_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="yiv7945308966Apple-converted-space"> </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="yiv7945308966Apple-converted-space"> </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 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></blockquote></div><br></div></div></div><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>_______________________________________________<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></div></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></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>