<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div class="" style="">Dear All.</div><div class="" style=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;" class="">When i do a call to a external number like my cellphone and <span style="background-color: transparent;" class="">If nibble_account have a balance equal to 0 the calls is tranfered to hangup context, it's works fine.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size:
16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;" class="">But my mobile number ring and if I answer and then hangup nibblebill reduces the balance anyway</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;" class="">I tried with ignore_early_media=true but not works</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;" class=""><br
class="" style=""></div><div style="background-color: transparent;" class=""> <extension name="Todo_Chile"></div><div style="background-color: transparent;" class=""> <condition field="destination_number" expression="^([2-9]\d{8})$"></div><div class="" style=""> <action application="set" data="hangup_after_bridge=true"/><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;" class=""> <action application="set" data="continue_on_fail=true"/></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;" class=""><span style="background-color: transparent; font-size:
12pt;" class=""> </span><span class="" style="background-color: transparent; font-size: 12pt;"><action application="lcr" data="$1 pg_prefix2"/></span><br class="" style=""></div><div style="background-color: transparent;" class=""> <action application="set" data="nibble_account=${accountcode}"/></div><div style="background-color: transparent;" class=""> <action application="set" data="nibble_rate=${lcr_rate_1}"/></div><div style="background-color: transparent;" class=""> <action application="set" data="nobal_amt=0"/></div><div style="background-color: transparent;" class=""> <action application="set" data="lowbal_amt=0"/></div><div class="" style=""> <action application="bridge" data="
{ignore_early_media=true,nibble_account=2,nibble_rate=35,nobal_amt=0,lowbal_amt=0}sofia/gateway/${lcr_carrier_1}/0$1"/></div><div style="background-color: transparent;" class=""> <span style="background-color: transparent;" class=""><extension name="hangup"></span></div><div style="background-color: transparent;" class=""> <condition field="destination_number" expression="^(hangup)$"></div><div style="background-color: transparent;" class=""> <action application="log" data="Limit de Credit Exceded !!!!!!!!"/></div><div style="background-color: transparent;" class=""> <!--<action application="playback" data="no_more_funds.wav"/>--></div><div style="background-color: transparent;" class=""> <action application="hangup"/></div><div style="background-color:
transparent;" class=""> </condition></div><div style="background-color: transparent;" class=""> </extension></div><div class="" style=""><br class="" style=""></div><div class="" style="">I tried with lcr_auto_route <span style="font-size: 12pt;" class="">but does not work too</span><br class="" style=""></div><div class="" style=""><span style="font-size: 12pt;" class=""><br class="" style=""></span></div><div class="" style=""><span class="" style=""><action application="bridge" data="${lcr_auto_route}"/><br class="" style=""></span></div><div class="" style=""><span class="" style=""><br class="" style=""></span></div><div class="" style=""><span class="" style="">As you can see :</span></div><div class="" style=""><span class="" style=""><br class="" style=""></span></div><div class="" style=""><span class="" style=""><div class="" style="">2014-09-13 10:17:49.246372
[DEBUG] mod_nibblebill.c:563 Billing $2.193306 to 2 (Call: 381bd4f6-5ccf-4f67-a801-cfac03319639 / 0.000000 so far)</div><div class="" style="">2014-09-13 10:17:49.246372 [DEBUG] mod_nibblebill.c:393 Doing update query</div><div class="" style="">[UPDATE auth_user SET saldo=saldo-2.193306 WHERE id='2']</div><div class="" style=""><br class="" style=""></div></span></div><div class="" style=""><span class="" style="">my complete log </span><a href="http://pastebin.freeswitch.org/23282" style="font-size: 12pt;" class="">http://pastebin.freeswitch.org/23282</a></div><div class="" style=""><span class="" style=""><br class="" style=""></span></div><div class="" style=""><span class="" style="">What i doing wrong? </span></div><div class="" style=""><span class="" style=""><br></span></div><div class="" style=""><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; background-color: transparent; font-style: normal;" class=""><br class="" style=""></div></div></body></html>