diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-15 17:45:30 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-15 17:45:30 +0000 |
commit | 025aeb8f62d8b5c199846c20c73ff25720dae21e (patch) | |
tree | 0dca6952bac0dc48b1b51a445fb7c60fd5caf1ff /UPGRADE.txt | |
parent | b59e7819bd13b8713fa249affc2b5c7e9a41a717 (diff) |
add dialplan functions for Caller ID, language and timeouts (bug #4219, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5679 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'UPGRADE.txt')
-rwxr-xr-x | UPGRADE.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/UPGRADE.txt b/UPGRADE.txt index 188ff43fd..54ada6c95 100755 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -59,6 +59,33 @@ Applications: DBGet(foo=family/key) SetVar(foo=${DB(family/key)}) DBPut(family/key=${foo}) SetVar(${DB(family/key)}=${foo}) +* The application SetLanguage has been deprecated in favor of the + function LANGUAGE(). + + SetLanguage(fr) SetVar(LANGUAGE()=fr) + + The LANGUAGE function can also return the currently set language: + + SetVar(MYLANG=${LANGUAGE()}) + +* The applications AbsoluteTimeout, DigitTimeout, and ResponseTimeout + have been deprecated in favor of the function TIMEOUT(timeouttype): + + AbsoluteTimeout(300) SetVar(TIMEOUT(absolute)=300) + DigitTimeout(15) SetVar(TIMEOUT(digit)=15) + ResponseTimeout(15) SetVar(TIMEOUT(response)=15) + + The TIMEOUT() function can also return the currently set timeouts: + + SetVar(DTIMEOUT=${TIMEOUT(digit)}) + +* The applications SetCIDName, SetCIDNum, and SetRDNIS have been + deprecated in favor of the CALLERID(datatype) function: + + SetCIDName(Joe Cool) SetVar(CALLERID(name)=Joe Cool) + SetCIDNum(2025551212) SetVar(CALLERID(number)=2025551212) + SetRDNIS(2024561414) SetVar(CALLERID(RDNIS)=2024561414) + Queues: * A queue is now considered empty not only if there are no members but if |