path: root/UPGRADE.txt
diff options
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-08 17:17:34 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-08 17:17:34 +0000
commit55bc25751adf5da6589b84bcdb19a2c9beb5528f (patch)
tree165bcc50d4ce6cf222998a26a11d5b1c87a2945a /UPGRADE.txt
parent349ba3ca9bbcee6695fd82b9f8a864507e6f1fd0 (diff)
Update groupcount / db documentation (bug #4200, etc)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5606 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'UPGRADE.txt')
1 files changed, 21 insertions, 0 deletions
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})
* A queue is now considered empty not only if there are no members but if