<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<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: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=Avi@aMarcus.com href="mailto:Avi@aMarcus.com">Avi Marcus</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, December 26, 2010 9:24
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users]
deactivate nibblebill in dialplan</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>I <I>suppose</I> it's a 2 step process.
<DIV>You need to set the nobal to transfer them to an extension that checks if
it's relevant to send them to voicemail, else, it send them to a "Empty
balance" 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><<A
href="mailto:infos@madovsky.org">infos@madovsky.org</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; 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'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> <extension
name="inbound"><BR>
<condition field="${sip_to_uri}"
expression="^([2-9]\d{10,15})@$${domain}$"><BR>
<action application="set"
data="hangup_after_bridge=true"/><BR>
<action inline="true" application="set"
data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,SUBSCRIBER_ABSENT,CALL_REJECTED,USER_NOT_REGISTERED,NO_ANSWER,NO_USER_RESPONSE,USER_BUSY"/><BR>
<action application="set"
data="instant_ringback=true"/><BR>
<action
application="ring_ready"/><BR>
<action inline="true" application="lcr" data="$1
default"/><BR>
<action inline="true" application="set"
data="nibble_rate=0.01"/><BR>
<action application="export"
data="originate_timeout=19"/><BR>
<action application="bridge" data="sofia/gateway/$1"/></FONT></DIV>
<DIV><FONT size=2>
<!-- how to
deactivate nibblebill here or allow user to continue even if his balance is
to 0 ?
--><BR>
<action application="sleep"
data="3000"/><BR>
<action
application="answer"/><BR>
<action application="voicemail" data="default ${domain_name}
${dialed_extension}"/><BR>
</condition><BR>
</extension><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>
<P>
<HR>
<P></P>_______________________________________________<BR>FreeSWITCH-users
mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>