<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">infos@madovsky.org</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">
<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><font size="2"></font> </div>
<div><font size="2"></font> </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><font size="2"></font> </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">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>