[Freeswitch-users] mod_nibblebill question

John Nash john.nash778 at gmail.com
Wed Jan 18 15:33:26 MSK 2017


Sorry i missed that but now A leg hangs up but call still goes to the
destination (b leg)

On Wed, Jan 18, 2017 at 5:50 PM, Andrew Cassidy <
andrew at cassidywebservices.co.uk> wrote:

> you need nobal_action and nobal_amt
>
> https://freeswitch.org/confluence/display/FREESWITCH/
> mod_nibblebill#mod_nibblebill-HangupCallWhenBalanceDepleted
>
> On 18 January 2017 at 11:45, John Nash <john.nash778 at gmail.com> wrote:
>
>> I am using latest freeswitch and trying to test mod_nibblebill. I am
>> trying to bill only b leg and it seems to cut the amount as per rates and
>> heartbeat. But it does not restrict call if balance is 0 or in minus. I was
>> hoping it will cut the calls the moment it reaches 0
>>
>>
>>         session:execute("export", "nolocal:enable_heartbeat_events=60")
>>         session:execute("export", "nolocal:nibble_account=1")
>>         session:execute("export", "nolocal:nibble_increment=1")
>>         session:execute("export", "nolocal:nibble_rate=0.02")
>>
>>
>> Is there anything I am doing wrong?
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> *Andrew Cassidy BSc (Hons) MBCS SSCA*
> Managing Director
>
> 03303 880 960 andrew at cassidyweb.co.uk <andrew at cassidywebservices.co.uk> ww
> w.cassidyweb.co.uk <http://www.cassidywebservices.co.uk>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170118/7a26d1e2/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list