[Freeswitch-users] mod_nibblebill question
John Nash
john.nash778 at gmail.com
Wed Jan 18 15:59:21 MSK 2017
Just to add I am exporting the nibblebill variables before I call bridge.
On Wed, Jan 18, 2017 at 6:03 PM, John Nash <john.nash778 at gmail.com> wrote:
> 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>
>> www.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/4b88a1eb/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list