From: Avi Marcus <avi@avimarcus.net>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Date: Thu, 28 Nov 2013 17:30:42 +0000
Subject: Re: [Freeswitch-users] Apply Connection Charges on LegBAh, sorry! I read "apply connection charges" as "when the call connects" and figured I understood.
OK, so I presume you want to export:nolocal an execute_on_answer or api_on_answer that calls something that charges the 5centsIt seems nibblebill supports this directly:Adding/Deducting funds
Inserting this in your dialplan:
<action application="nibblebill" data="adjust 5.00"/>
... Use negative numbers to deduct from an account.... you'd of course want to make sure this ends up in your logs somewhere so you have an audit trail!Seemingly this would be an execute_on_answer.
Hope that helps!-AviOn Thu, Nov 28, 2013 at 7:03 PM, Andrew Cassidy <andrew@cassidywebservices.co.uk> wrote:Avi, he wants to apply an additional charge to the call that is per call and not per minute, as well as the per minute rate.