[Freeswitch-users] Apply Connection Charges on LegB

Shahzad Bhatti shahzad.bhatti at g-r-v.com
Fri Nov 29 18:07:17 MSK 2013


Thanks Avi and Andrew it works.

Regards

Shahzad Bhatti


From: Avi Marcus <avi at avimarcus.net>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Thu, 28 Nov 2013 17:30:42 +0000
> Subject: Re: [Freeswitch-users] Apply Connection Charges on LegB
> Ah, 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 5cents
> http://wiki.freeswitch.org/wiki/Variable_execute_on_answer
> http://wiki.freeswitch.org/wiki/Variable_api_on_answer
>
> It 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!
> -Avi
>
> On Thu, Nov 28, 2013 at 7:03 PM, Andrew Cassidy <
> andrew at 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.
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131129/354bbf10/attachment.html 


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