[Freeswitch-users] limit_usage change in recent versions?

Ken Rice krice at freeswitch.org
Wed Sep 19 18:38:52 MSD 2012


Checkout limit_execute


On 9/19/12 9:31 AM, "Yehavi Bourvine" <yehavi.bourvine at gmail.com> wrote:

> Hello,
>  
>   I am using limit_usage in the following format:
>  
> <action application="bridge" data="${cond(${limit_usage(db, max_calls
> ${destination_number})} > ${MaxLimit} ?  error/user_busy :
> ${destination_mumber})}" />
>  
> It worked at older versions (my local reference is 1.0.6), but it doesn't work
> in newer ones. It always returns zero.
>  
> All I want is to know whether the extension already has an active call to
> decide what to do in case it is busy. What is the correct way of calling it?
>  
>                     Thanks, __Yehavi:
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch

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


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list