also, you probably want to be looking at https://wiki.freeswitch.org/wiki/Mod_nibblebill. Duration won't work if multiple calls are up.

On Sep 18, 2013, at 11:07 AM, Ken Rice <krice@freeswitch.org> wrote:

Re: [Freeswitch-users] Duration limit for answered calls
See http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_sched_hangup

On 9/18/13 9:53 AM, "Dmitry Mordovin" <d.mordovin@dwide.com> wrote:

  Hello!
 
 Is there any way to limit duration (set max-duration) for outgoing calls?
 
 I try to configure calling card platform, so, i need limit users depend on his account balance.
 
 PS: duration limit must counting since answer received (legs becomes connected)
 
 Thank you