[Freeswitch-users] limit usage?

Yu Boot yu at yu-boot.ru
Tue Jul 19 00:17:45 MSD 2016


Thanks! limit_ignore_transfer=true solves my problem.

Never seen that parameter in wiki etc. Kind of yet another FS black magic :)


18.07.2016 17:47, Ítalo Rossi пишет:
> Hard to say without logs.
>
> But a common mistake is to transfer the call to another extension and 
> by default this causes would cause drop the limit, you may need to set 
> limit_ignore_transfer=true
>
> On Mon, Jul 18, 2016 at 7:40 AM, Yu Boot <yu at yu-boot.ru 
> <mailto:yu at yu-boot.ru>> wrote:
>
>     I want to use "limit" dialplan app for calls count.
>
>     dialplan:
>
>     ....
>
>     <action application="limit" data="hash peername allcalls 1000"/>
>     .....
>
>
>     Then, in fs_cli:
>
>      > limit_usage hash peername allcalls
>     0
>
>     Why zero? How to use this correctly?
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> -- 
> Ítalo Rossi
> italo at freeswitch.org <mailto:italo at freeswitch.org>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160718/202cf147/attachment.html 


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