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!
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!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
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:
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
You'll want to combine this with execute_on_answer. Possibly from a script calcuating duration from rate and balance. But I agree with Mike - nibble bill is designed for exactly this problem and handles the multiple calls case too. On Wednesday, September 18, 2013, Ken Rice wrote:
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!
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
Thanks!!! Works fine! :) On 09/18/2013 07:07 PM, Ken Rice 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!
participants (4)
-
Dmitry Mordovin
-
Ken Rice
-
Michael Jerris
-
Steven Ayre