Chinaunix首页 | 论坛 | 博客
  • 博客访问: 862666
  • 博文数量: 156
  • 博客积分: 6553
  • 博客等级: 准将
  • 技术积分: 3965
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-22 18:36
文章存档

2012年(3)

2011年(43)

2010年(110)

分类: LINUX

2011-08-16 14:09:21

AES_DECRYPT           AES_DECRYPT(key,string)              Decrypt a string encoded in base64 with AES given a 16 character key.

AES_ENCRYPT           AES_ENCRYPT(key,string)              Encrypt a string with AES given a 16 character key.

AGC                   AGC(channeldirection)                Apply automatic gain control to audio on a channel.

AGENT                 AGENT(agentid[:item])                Gets information about an Agent

ARRAY                 ARRAY(var1[,var2[,...][,varN]])      Allows setting multiple variables at once.

AST_CONFIG            AST_CONFIG(config_file,category,var  Retrieve a variable from a configuration file.

AUDIOHOOK_INHERIT     AUDIOHOOK_INHERIT(source)            Set whether an audiohook may be inherited to another channel

BASE64_DECODE         BASE64_DECODE(string)                Decode a base64 string.

BASE64_ENCODE         BASE64_ENCODE(string)                Encode a string in base64.

BLACKLIST             BLACKLIST()                          Check if the callerid is on the blacklist.

CALLERID              CALLERID(datatype[,CID])             Gets or sets Caller*ID data on the channel.

CALLERPRES            CALLERPRES()                         Gets or sets Caller*ID presentation on the channel.

CDR                   CDR(name[,options])                  Gets or sets a CDR variable.

CHANNEL               CHANNEL(item)                        Gets/sets various pieces of information about the channel.

CHANNELS              CHANNELS([regular_expression])       Gets the list of channels, optionally filtering by a regular expression.

CHECKSIPDOMAIN        CHECKSIPDOMAIN(domain)               Checks if domain is a local domain.

CSV_QUOTE             CSV_QUOTE(string)                    Quotes a given string for use in a CSV file, escaping embedded quotes as necessary

CURL                  CURL(url[,post-data])                Retrieves the contents of a URL

CURLOPT               CURLOPT(

CUT                   CUT(varname,char-delim,range-spec)   Slices and dices strings, based upon a named delimiter.

DB                    DB(family/key)                       Read from or write to the Asterisk database.

DB_DELETE             DB_DELETE(family/key)                Return a value from the database and delete it.

DB_EXISTS             DB_EXISTS(family/key)                Check to see if a key exists in the Asterisk database.

DENOISE               DENOISE(channeldirection)            Apply noise reduction to audio on a channel.

DEVICE_STATE          DEVICE_STATE(device)                 Get or Set a device state.

DIALGROUP             DIALGROUP(group[,op])                Manages a group of users for dialing.

DIALPLAN_EXISTS       DIALPLAN_EXISTS(context[,extension[  Checks the existence of a dialplan target.

DUNDILOOKUP           DUNDILOOKUP(number[,context[,option  Do a DUNDi lookup of a phone number.

DUNDIQUERY            DUNDIQUERY(number[,context[,options  Initiate a DUNDi query.

DUNDIRESULT           DUNDIRESULT(id[,resultnum])          Retrieve results from a DUNDIQUERY.

ENUMLOOKUP            ENUMLOOKUP(number[,method-type[,opt  General or specific querying of NAPTR records for ENUM or ENUM-like DNS pointers.

ENUMQUERY             ENUMQUERY(number[,method-type[,zone  Initiate an ENUM query.

ENUMRESULT            ENUMRESULT(id,resultnum)             Retrieve results from a ENUMQUERY.

ENV                   ENV(varname)                         Gets or sets the environment variable specified.

EVAL                  EVAL(variable)                       Evaluate stored variables

EXCEPTION             EXCEPTION(field)                     Retrieve the details of the current dialplan exception.

EXISTS                EXISTS(data)                         Test the existence of a value.

EXTENSION_STATE       EXTENSION_STATE(extension[@context]  Get an extension's state.

FIELDQTY              FIELDQTY(varname,delim)              Count the fields with an arbitrary delimiter

FILE                  FILE(filename,offset,length)         Obtains the contents of a file.

FILTER                FILTER(allowed-chars,string)         Filter the string to include only the allowed characters

GLOBAL                GLOBAL(varname)                      Gets or sets the global variable specified.

GROUP                 GROUP([category])                    Gets or sets the channel group.

GROUP_COUNT           GROUP_COUNT([groupname][@category])  Counts the number of channels in the specified group.

GROUP_LIST            GROUP_LIST()                         Gets a list of the groups set on a channel.

GROUP_MATCH_COUNT     GROUP_MATCH_COUNT(groupmatch[@categ  Counts the number of channels in the groups matching the specified pattern.

HASH                  HASH(hashname[,hashkey])             Implementation of a dialplan associative array

HASHKEYS              HASHKEYS(hashname)                   Retrieve the keys of the HASH() function.

HINT                  HINT(extension[@context][,options])  Get the devices set for a dialplan hint.

IAXPEER               IAXPEER(peername[,item])             Gets IAX peer information.

IAXVAR                IAXVAR(varname)                      Sets or retrieves a remote variable.

ICONV                 ICONV(in-charset,out-charset,string  Converts charsets of strings.

IF                    IF(expresion?[true][:false])         Check for an expresion.

IFMODULE              IFMODULE(modulename.so)              Checks if an Asterisk module is loaded in memory.

IFTIME                IFTIME(timespec?[true][:false])      Temporal Conditional.

IMPORT                IMPORT(channel,variable)             Retrieve the value of a variable from another channel.

ISNULL                ISNULL(data)                         Check if a value is NULL.

KEYPADHASH            KEYPADHASH(string)                   Hash the letters in string into equivalent keypad numbers.

LEN                   LEN(string)                          Return the length of the string given.

LISTFILTER            LISTFILTER(varname,delim,value)      Remove an item from a list, by name.

LOCAL                 LOCAL(varname)                       Manage variables local to the gosub stack frame.

LOCAL_PEEK            LOCAL_PEEK(n,varname)                Retrieve variables hidden by the local gosub stack frame.

LOCK                  LOCK(lockname)                       Attempt to obtain a named mutex.

MAILBOX_EXISTS        MAILBOX_EXISTS(mailbox[@context])    Tell if a mailbox is configured.

MATH                  MATH(expression[,type])              Performs Mathematical Functions.

MD5                   MD5(data)                            Computes an MD5 digest.

MEETME_INFO           MEETME_INFO(,)      Query a given conference of various properties.

MINIVMACCOUNT         MINIVMACCOUNT(:item)        Gets MiniVoicemail account information

MINIVMCOUNTER         MINIVMCOUNTER(:name[:opera  Reads or sets counters for MiniVoicemail message

PP_EACH_EXTENSION     PP_EACH_EXTENSION(|