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:
Checkout limit_execute On 9/19/12 9:31 AM, "Yehavi Bourvine" <yehavi.bourvine@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@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
participants (2)
-
Ken Rice
-
Yehavi Bourvine