<div dir="ltr">you need nobal_action and nobal_amt<div><br></div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_nibblebill#mod_nibblebill-HangupCallWhenBalanceDepleted">https://freeswitch.org/confluence/display/FREESWITCH/mod_nibblebill#mod_nibblebill-HangupCallWhenBalanceDepleted</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 January 2017 at 11:45, John Nash <span dir="ltr">&lt;<a href="mailto:john.nash778@gmail.com" target="_blank">john.nash778@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am using latest freeswitch and trying to test mod_nibblebill. I am trying to bill only b leg and it seems to cut the amount as per rates and heartbeat. But it does not restrict call if balance is 0 or in minus. I was hoping it will cut the calls the moment it reaches 0<div><br></div><div><br></div><div><div>        session:execute(&quot;export&quot;, &quot;nolocal:enable_heartbeat_<wbr>events=60&quot;)</div><div>        session:execute(&quot;export&quot;, &quot;nolocal:nibble_account=1&quot;)</div><div>        session:execute(&quot;export&quot;, &quot;nolocal:nibble_increment=1&quot;)</div><div>        session:execute(&quot;export&quot;, &quot;nolocal:nibble_rate=0.02&quot;)</div><div>      </div></div><div><br></div><div>Is there anything I am doing wrong?</div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><b>Andrew Cassidy BSc (Hons) MBCS SSCA</b><div>Managing Director<div><div><img src="https://docs.google.com/uc?export=download&amp;id=0B48A-71LkjxcRUlpZlNFZmY5Q2s&amp;revid=0B48A-71LkjxcaWJXYm5XZjdGY1czZFF1citBazFCVXV6R0ZnPQ"><br></div><div><div>03303 880 960 <a href="mailto:andrew@cassidywebservices.co.uk" style="font-size:12.8px" target="_blank">andrew@cassidyweb.co.uk</a> <a href="http://www.cassidywebservices.co.uk" style="font-size:12.8px" target="_blank">www.cassidyweb.co.uk</a></div></div></div></div></div></div></div></div></div>
</div>