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@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@cassidywebservices.co.uk > wrote:you need nobal_action and nobal_amtOn 18 January 2017 at 11:45, John Nash <john.nash778@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 0session: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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-user s
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users
http://www.freeswitch.org--Andrew Cassidy BSc (Hons) MBCS SSCAManaging Director03303 880 960 andrew@cassidyweb.co.uk www.cassidyweb.co.uk
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-user s
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users
http://www.freeswitch.org