<div dir="ltr">If you set nibble_rate to 0, it still runs and issues db queries. Maybe it even cuts them off at nobal, even. Rather, unset the nibble_account.<div>-Avi<br><br><div class="gmail_quote">On Sun, Dec 26, 2010 at 6:29 PM, Meftah Tayeb <span dir="ltr">&lt;<a href="mailto:tayeb.meftah@gmail.com">tayeb.meftah@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 bgcolor="#ffffff" text="#000000">
set nibble_rate to 0<br>
Le 26/12/2010 15:48, Madovsky a écrit :
<div><div></div><div class="h5"><blockquote type="cite">
  
  
  
  <div><font size="2">ok thanks,</font></div>
  <div><font size="2">to unset nibble vars I need to set it to empty ?</font></div>
  <blockquote style="border-left:2px solid rgb(0, 0, 0);padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px">
    <div style="font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;font-size:10pt;line-height:normal;font-size-adjust:none;font-stretch:normal">-----
Original Message ----- </div>
    <div style="background:rgb(228, 228, 228) none repeat scroll 0% 0%;font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;font-size:10pt;line-height:normal;font-size-adjust:none;font-stretch:normal">

<b>From:</b>
    <a title="Avi@aMarcus.com" href="mailto:Avi@aMarcus.com" target="_blank">Avi Marcus</a> </div>
    <div style="font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;font-size:10pt;line-height:normal;font-size-adjust:none;font-stretch:normal"><b>To:</b>
    <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users
Help</a> </div>
    <div style="font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;font-size:10pt;line-height:normal;font-size-adjust:none;font-stretch:normal"><b>Sent:</b>
Sunday, December 26, 2010 9:24 AM</div>
    <div style="font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;font-size:10pt;line-height:normal;font-size-adjust:none;font-stretch:normal"><b>Subject:</b>
Re: [Freeswitch-users] deactivate nibblebill in dialplan</div>
    <div><br>
    </div>
    <div dir="ltr">I <i>suppose</i> it&#39;s a 2 step process.
    <div>You need to set the nobal to transfer them to an extension
that checks if it&#39;s relevant to send them to voicemail, else, it send
them to a &quot;Empty balance&quot; error message.</div>
    <div>Then, on the voicemail part, you simple unset nibble_account
and mod_nibblebill ignores the channel. No account = no billing.</div>
    <div><br>
    </div>
    <div>-Avi Marcus<br>
    <br>
    <div class="gmail_quote">On Sun, Dec 26, 2010 at 4:08 PM, Madovsky <span dir="ltr">&lt;<a href="mailto:infos@madovsky.org" target="_blank">infos@madovsky.org</a>&gt;</span>
wrote:<br>
    <blockquote style="border-left:1px solid rgb(204, 204, 204);margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
      <div bgcolor="#ffffff">
      <div><font size="2">Is it possilbe to deactivate nibblebill in
dialplan ?</font></div>
      <div><font size="2">I&#39;d like to allow the caller to reach the
voice machine of the callee in case of the bridge</font></div>
      <div><font size="2">fails and if his balance is under the nobal
value in nibblebill.conf.xml</font></div>
      <div> </div>
      <div> </div>
      <div><font size="2">        &lt;extension name=&quot;inbound&quot;&gt;<br>
                &lt;condition field=&quot;${sip_to_uri}&quot;
expression=&quot;^([2-9]\d{10,15})@$${domain}$&quot;&gt;<br>
                        &lt;action application=&quot;set&quot;
data=&quot;hangup_after_bridge=true&quot;/&gt;<br>
                        &lt;action inline=&quot;true&quot; application=&quot;set&quot;
data=&quot;continue_on_fail=NORMAL_TEMPORARY_FAILURE,SUBSCRIBER_ABSENT,CALL_REJECTED,USER_NOT_REGISTERED,NO_ANSWER,NO_USER_RESPONSE,USER_BUSY&quot;/&gt;<br>
                        &lt;action application=&quot;set&quot;
data=&quot;instant_ringback=true&quot;/&gt;<br>
                        &lt;action application=&quot;ring_ready&quot;/&gt;<br>
                        &lt;action inline=&quot;true&quot; application=&quot;lcr&quot;
data=&quot;$1 default&quot;/&gt;<br>
                        &lt;action inline=&quot;true&quot; application=&quot;set&quot;
data=&quot;nibble_rate=0.01&quot;/&gt;<br>
                        &lt;action application=&quot;export&quot;
data=&quot;originate_timeout=19&quot;/&gt;<br>
                        &lt;action application=&quot;bridge&quot;
data=&quot;sofia/gateway/$1&quot;/&gt;</font></div>
      <div><font size="2">                        &lt;!-- how to
deactivate nibblebill here or allow user to continue even if his
balance is to 0 ? --&gt;<br>
                        &lt;action application=&quot;sleep&quot; data=&quot;3000&quot;/&gt;<br>
                        &lt;action application=&quot;answer&quot;/&gt;<br>
                        &lt;action application=&quot;voicemail&quot;
data=&quot;default ${domain_name} ${dialed_extension}&quot;/&gt;<br>
                &lt;/condition&gt;<br>
        &lt;/extension&gt;<br>
      </font></div>
      <div> </div>
      <div><font size="2">Thanks</font></div>
      <br>
      <font color="#888888">-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>,
and is <br>
believed to be clean. </font></div>
      <br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
      <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
      <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
      <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
      <br>
    </blockquote>
    </div>
    <br>
    </div>
    </div>
    <p> </p>
    <hr> _______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
  </blockquote>
  <pre><fieldset></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
  </pre>
</blockquote>
<br>
<br>
</div></div><font color="#888888"><pre cols="72">-- 
Meftah Tayeb
inum: +883510001288000
Phone: +13602276297
Fax: +12538020313</pre>
</font></div>

<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>