<div dir="ltr"><div><div><div><div>Thanks Venkatesh,<br><br></div>I have added users just like you told me, find attached screenshot, but whenever i dial any SIP number internally i am getting MaxCallDuration=unlimited and saying you have postpaid account. <br>
<br></div>I want to setup prepaid between two SIP phone internally so i can test all scenario, is it possible we can setup with internal SIP or it require International numbers or PSTN connection? <br><br></div><div>see logs, between two SIP device <br>
<br>Aug 16 22:40:45 sip cdrtool[16362]: MaxSessionTime Duration=36000 CallId=NDlkMjBlYzBiMjgzMjQzMGYxY2EyNjgzY2VkMGFmZmM From=<a href="mailto:sip%3A6000@sip.example.com">sip:6000@sip.example.com</a> Gateway=172.16.0.1 To=<a href="mailto:sip%3A7000@sip.example.com">sip:7000@sip.example.com</a><br>
Aug 16 22:40:45 sip cdrtool[16362]: MaxSessionTime=unlimited Type=prepaid CallId=NDlkMjBlYzBiMjgzMjQzMGYxY2EyNjgzY2VkMGFmZmM BillingParty=<a href="mailto:6000@sip.example.com">6000@sip.example.com</a> DestId=None<br>Aug 16 22:40:45 sip call-control[16421]: Call id NDlkMjBlYzBiMjgzMjQzMGYxY2EyNjgzY2VkMGFmZmM of <a href="mailto:6000@sip.example.com">6000@sip.example.com</a> to <a href="mailto:sip%3A7000@sip.example.com">sip:7000@sip.example.com</a> is postpaid not limited<br>
Aug 16 22:40:45 sip /usr/sbin/opensips[17541]: new branch at sip:7000@192.168.1.8:55186;rinstance=03c3ebf44b5b9d52<br><br><br></div><div><br><br></div>In google many folks saying you need to setup destination number and rates, I have tried that i have added destination number of second SIP phone but still it is saying you have unlimited Maxcallduration. <br>
<br></div>If i dial any number with 001XXXXXXX i am getting no enough credit in your prepaid call, i don't know where that coming from.. <br><br>Aug 16 22:42:18 sip cdrtool[16362]: MaxSessionTime Duration=36000 CallId=NmM5MGJmMmM0ZmFiMjEwZTliYWMwNWE4MzFhMWI0YjM From=<a href="mailto:sip%3A6000@sip.example.com">sip:6000@sip.example.com</a> Gateway=172.16.0.1 To=<a href="mailto:sip%3A001414141@sip.example.com">sip:001414141@sip.example.com</a><br>
Aug 16 22:42:18 sip cdrtool[16362]: Error: Cannot find rates for callid=NmM5MGJmMmM0ZmFiMjEwZTliYWMwNWE4MzFhMWI0YjM, billing party=<a href="mailto:6000@sip.example.com">6000@sip.example.com</a>, customer subscriber=<a href="mailto:7000@sip.example.com">7000@sip.example.com</a>, gateway=172.16.0.1, destination=1, profile=My_profile, app=audio<br>
Aug 16 22:42:18 sip cdrtool[16362]: Notice: maxduration of 0 is less then min_duration (120)<br>Aug 16 22:42:18 sip call-control[16421]: Call id NmM5MGJmMmM0ZmFiMjEwZTliYWMwNWE4MzFhMWI0YjM of <a href="mailto:6000@sip.example.com">6000@sip.example.com</a> to <a href="mailto:sip%3A001414141@sip.example.com">sip:001414141@sip.example.com</a> forbidden because credit is too low<br>
Aug 16 22:42:18 sip /usr/sbin/opensips[17540]: Call control: not enough credit for prepaid call<br><br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 18, 2014 at 2:03 AM, Venkatesh Macha <span dir="ltr"><<a href="mailto:linuxvenkey@gmail.com" target="_blank">linuxvenkey@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sathish,<br>
<br>
I hope you have CDRTool runnig on your server. you can<br>
connect it by using *<your_server_ip>/CDRTool*<br>
you can add prepaid user by using *prepaid* section in CDRTool Web page.<br>
<<a href="http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7592939/CDRTool_Menu.png" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7592939/CDRTool_Menu.png</a>><br>
<br>
Then you can add users like this<br>
<br>
<<a href="http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7592939/prepaid_Account.png" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7592939/prepaid_Account.png</a>><br>
<br>
here <a href="mailto:100@something.com">100@something.com</a> is your prepaid user and 9.0000 is prepaid User<br>
Balance.<br>
<br>
Venkatesh Macha,<br>
Junior Voip Engineer,<br>
Learn Programming <<a href="http://sillycodes4u.blogspot.in" target="_blank">http://sillycodes4u.blogspot.in</a>><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-Prepaid-Billing-configuration-question-tp7592935p7592939.html" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-Prepaid-Billing-configuration-question-tp7592935p7592939.html</a><br>
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div>