<p>what happens if you manually set $avp(can_uri) to a fixed value? like to 9999, and define this destination in cdrtool?</p>
<div class="gmail_quote">2013.06.11. 18:08, "Leonardo Uzcudun" <<a href="mailto:uzcudunl@yahoo.it">uzcudunl@yahoo.it</a>> ezt írta:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:10pt;font-family:verdana,helvetica,sans-serif"><div>Did it but still not working. I'm still receiving Maxsessiontime=unlimited and DetsId=none :(</div><div><br></div><div>Is there any "default destination" (like a default gateway)? So no matched destination will use the "default destination" with an X price/rate/profile?<br>
</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:verdana,helvetica,sans-serif"><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"> <b><span style="font-weight:bold">Da:</span></b> Adrian Georgescu <<a href="mailto:ag@ag-projects.com" target="_blank">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" target="_blank">users@lists.opensips.org</a>> <br> <b><span style="font-weight:bold">Inviato:</span></b> Martedì 11 Giugno 2013 17:18<br> <b><span style="font-weight:bold">Oggetto:</span></b> Re: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid<br>
</font> </div> <div><br><div><div><div>You need to add pricing info in the other billing tables too.</div><div><br></div><div>Adrian</div><br><div><div>On Jun 11, 2013, at 3:24 PM, Leonardo Uzcudun wrote:</div><br><blockquote type="cite">
<div><div style="font-size:10pt;font-family:verdana,helvetica,sans-serif">Thanks again Adrian.<br>You mean to insert in destinations (CDRtool web portal -> Rating -> Destinations) the <a rel="nofollow" href="mailto:user02@example.com" target="_blank">user02@example.com</a> in the destination field?<br>
<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"> <b><span style="font-weight:bold">Da:</span></b> Adrian Georgescu <<a rel="nofollow" href="mailto:ag@ag-projects.com" target="_blank">ag@ag-projects.com</a>><br>
<b><span style="font-weight:bold">A:</span></b> OpenSIPS users mailling list <<a rel="nofollow" href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>> <br> <b><span style="font-weight:bold">Inviato:</span></b> Martedì 11 Giugno 2013 14:32<br>
<b><span style="font-weight:bold">Oggetto:</span></b> Re:
[OpenSIPS-Users] CDRTool - Callcontrol - Prepaid<br> </font> </div> <div><br><div><div>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><blockquote type="cite"><div><div style="font-size:10pt;font-family:verdana,helvetica,sans-serif">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"> <b><span style="font-weight:bold">Da:</span></b> Adrian Georgescu <<a rel="nofollow" href="mailto:ag@ag-projects.com" target="_blank">ag@ag-projects.com</a>><br>
<b><span style="font-weight:bold">A:</span></b> OpenSIPS users mailling list <<a rel="nofollow" href="mailto:users@lists.opensips.org" target="_blank">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><br><div><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" href="mailto:uzcudunl@yahoo.it" target="_blank">uzcudunl@yahoo.it</a>> wrote:</div>
<br><blockquote type="cite"><div style="letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="font-size:10pt;font-family:verdana,helvetica,sans-serif">Hello Adrian:<br>
<br>From the following site (<a rel="nofollow" href="http://callcontrol.ag-projects.com/issues/1769#change-8449" target="_blank">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> </span><a rel="nofollow" href="mailto:user01@example.com" target="_blank">user01@example.com</a><span> </span>and<span> </span><a rel="nofollow" href="mailto:user02@example.com" target="_blank">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"><b><span style="font-weight:bold">Da:</span></b><span> </span>Adrian Georgescu <<a rel="nofollow" href="mailto:ag@ag-projects.com" target="_blank">ag@ag-projects.com</a>><br>
<b><span style="font-weight:bold">A:</span></b><span> </span>OpenSIPS users mailling list <<a rel="nofollow" href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><span> </span><br><b><span style="font-weight:bold">Inviato:</span></b><span> </span>Lunedì 10 Giugno 2013 21:39<br>
<b><span style="font-weight:bold">Oggetto:</span></b><span> </span>Re: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid<br></font></div><div><br><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><br><div><div>On Jun 10, 2013, at 9:30 PM, Leonardo Uzcudun wrote:</div><br><blockquote type="cite"><div><div style="font-size:10pt;font-family:verdana,helvetica,sans-serif"><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> </span><span style="font-weight:bold">DestId=None</span><br><br><span>and considering the rating.txt doc point<span> </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"><b><span style="font-weight:bold">Da:</span></b><span> </span>leo <<a rel="nofollow" href="mailto:uzcudunl@yahoo.it" target="_blank">uzcudunl@yahoo.it</a>><br>
<b><span style="font-weight:bold">A:</span></b><span> </span><a rel="nofollow" href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a><span> </span><br><b><span style="font-weight:bold">Inviato:</span></b><span> </span>Venerdì 7 Giugno 2013 9:38<br>
<b><span style="font-weight:bold">Oggetto:</span></b><span> </span>[OpenSIPS-Users] CDRTool - Callcontrol - Prepaid<br></font></div><div><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> </span><a rel="nofollow" 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<span> </span><a rel="nofollow" href="http://nabble.com/" target="_blank">Nabble.com</a>.<br><br>_______________________________________________<br>Users mailing list<br>
<a rel="nofollow" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a rel="nofollow" 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 rel="nofollow" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a rel="nofollow" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">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" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a rel="nofollow" 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 rel="nofollow" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a rel="nofollow" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
</blockquote></div><br></div></div></div><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a rel="nofollow" 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 rel="nofollow" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a rel="nofollow" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a rel="nofollow" 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 rel="nofollow" href="mailto:Users@lists.opensips.org" target="_blank">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>
</blockquote></div><br></div></div><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">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>_______________________________________________<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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>