From 55bc25751adf5da6589b84bcdb19a2c9beb5528f Mon Sep 17 00:00:00 2001 From: markster Date: Sun, 8 May 2005 17:17:34 +0000 Subject: Update groupcount / db documentation (bug #4200, etc) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5606 f38db490-d61c-443f-a65b-d21fe96a405b --- UPGRADE.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'UPGRADE.txt') diff --git a/UPGRADE.txt b/UPGRADE.txt index 89bd6fe88..188ff43fd 100755 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -38,6 +38,27 @@ Applications: * The CallerPres application has been removed. Use SetCallerPres instead. It accepts both numeric and symbolic names. +* The applications GetGroupCount, GetGroupMatchCount, SetGroup, and + CheckGroup have been deprecated in favor of functions. Here is a + table of their replacements: + + GetGroupCount([groupname][@category] GROUP_COUNT([groupname][@category]) SetVar(GROUPCOUNT=${GROUP_COUNT()}) + GroupMatchCount(groupmatch[@category]) GROUP_MATCH_COUNT(groupmatch[@category]) SetVar(GROUPCOUNT=${GROUP_MATCH_COUNT(SIP/.*)}) + SetGroup(groupname[@category]) GROUP([category])=groupname SetVar(GROUP()=test) + CheckGroup(max[@category]) N/A GotoIf($[ ${GROUP_COUNT()} > 5 ]?103) + + Note that CheckGroup does not have a direct replacement. There is + also a new function called GROUP_LIST() which will return a space + separated list of all of the groups set on a channel. The GROUP() + function can also return the name of the group set on a channel when + used in a read environment. + +* The applications DBGet and DBPut have been deprecated in favor of + functions. Here is a table of their replacements: + + DBGet(foo=family/key) SetVar(foo=${DB(family/key)}) + DBPut(family/key=${foo}) SetVar(${DB(family/key)}=${foo}) + Queues: * A queue is now considered empty not only if there are no members but if -- cgit v1.2.3