[Asterisk-cvs] asterisk UPGRADE.txt,1.8,1.9
markster at lists.digium.com
markster at lists.digium.com
Sun May 8 13:11:13 CDT 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv24252
Modified Files:
UPGRADE.txt
Log Message:
Update groupcount / db documentation (bug #4200, etc)
Index: UPGRADE.txt
===================================================================
RCS file: /usr/cvsroot/asterisk/UPGRADE.txt,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- UPGRADE.txt 3 Apr 2005 00:25:21 -0000 1.8
+++ UPGRADE.txt 8 May 2005 17:17:34 -0000 1.9
@@ -38,6 +38,27 @@
* 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
More information about the svn-commits
mailing list