[Freeswitch-users] deactivate nibblebill in dialplan

Madovsky infos at madovsky.org
Sun Dec 26 17:08:39 MSK 2010


Is it possilbe to deactivate nibblebill in dialplan ?
I'd like to allow the caller to reach the voice machine of the callee in case of the bridge
fails and if his balance is under the nobal value in nibblebill.conf.xml


        <extension name="inbound">
                <condition field="${sip_to_uri}" expression="^([2-9]\d{10,15})@$${domain}$">
                        <action application="set" data="hangup_after_bridge=true"/>
                        <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"/>
                        <action application="set" data="instant_ringback=true"/>
                        <action application="ring_ready"/>
                        <action inline="true" application="lcr" data="$1 default"/>
                        <action inline="true" application="set" data="nibble_rate=0.01"/>
                        <action application="export" data="originate_timeout=19"/>
                        <action application="bridge" data="sofia/gateway/$1"/>
                        <!-- how to deactivate nibblebill here or allow user to continue even if his balance is to 0 ? -->
                        <action application="sleep" data="3000"/>
                        <action application="answer"/>
                        <action application="voicemail" data="default ${domain_name} ${dialed_extension}"/>
                </condition>
        </extension>


Thanks
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101226/093cbd68/attachment.html 


More information about the FreeSWITCH-users mailing list