Installed Custom Functions:
ABS ABS([num]) Returns absolute value of a number.
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
AMI_CLIENT AMI_CLIENT(loginname,field) Checks attributes of manager accounts
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.
AST_SORCERY AST_SORCERY(module_name,object_type Get a field from a sorcery object
BASE64_DECODE BASE64_DECODE(string) Decode a base64 string.
BASE64_ENCODE BASE64_ENCODE(string) Encode a string in base64.
BASENAME BASENAME(filename) Return the name of a file.
BLACKLIST BLACKLIST() Check if the callerid is on the blacklist.
CALENDAR_BUSY CALENDAR_BUSY(calendar) Determine if the calendar is marked busy at this time.
CALENDAR_EVENT CALENDAR_EVENT(field) Get calendar event notification data from a notification call.
CALENDAR_QUERY CALENDAR_QUERY(calendar[,start[,end Query a calendar server and store the data on a channel
CALENDAR_QUERY_RESUL CALENDAR_QUERY_RESULT(id,field[,ent Retrieve data from a previously run CALENDAR_QUERY() call
CALENDAR_WRITE CALENDAR_WRITE(calendar,field[,…] Write an event to a calendar
CALLCOMPLETION CALLCOMPLETION(option) Get or set a call completion configuration parameter for a channel.
CALLERID CALLERID(datatype[,CID]) Gets or sets Caller*ID data on the channel.
CDR CDR(name[,options]) Gets or sets a CDR variable.
CDR_PROP CDR_PROP(name) Set a property on a channel’s CDR.
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.
CHANNEL_EXISTS CHANNEL_EXISTS(name_or_uid) Checks if the specified channel exists.
CONFBRIDGE CONFBRIDGE(type,option) Set a custom dynamic bridge, user, or menu profile on a channel for the ConfBridge application using the same options available in confbridge.conf.
CONFBRIDGE_CHANNELS CONFBRIDGE_CHANNELS(type,conf) Get a list of channels in a ConfBridge conference.
CONFBRIDGE_INFO CONFBRIDGE_INFO(type,conf) Get information about a ConfBridge conference.
CONNECTEDLINE CONNECTEDLINE(datatype[,i]) Gets or sets Connected Line data on the channel.
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]) Retrieve content from a remote web or ftp server
CURLOPT CURLOPT() Set options for use with the CURL() function
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.
DB_KEYCOUNT DB_KEYCOUNT([prefix]) Obtain the number of keys at a prefix within the Asterisk database.
DB_KEYS DB_KEYS([prefix]) Obtain a list of keys within the Asterisk database.
DEC DEC(variable) Decrements the value of a variable, while returning the updated value to the dialplan
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.
DIRNAME DIRNAME(filename) Return the directory of a file.
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
EVAL_EXTEN EVAL_EXTEN([[context,]extensions,]p Evaluates the contents of a dialplan extension and returns it as a string.
EXCEPTION EXCEPTION(field) Retrieve the details of the current dialplan exception.
EXISTS EXISTS(data) Test the existence of a value.
EXPORT EXPORT(channel,var) Set variables or dialplan functions on any arbitrary channel that exists.
EXTENSION_STATE EXTENSION_STATE(extension[@context] Get an extension’s state.
FAXOPT FAXOPT(item) Gets/sets various pieces of information about a fax session.
FEATURE FEATURE(option_name) Get or set a feature option on a channel.
FEATUREMAP FEATUREMAP(feature_name) Get or set a feature map to a given value on a specific channel.
FIELDNUM FIELDNUM(varname,delim,value) Return the 1-based offset of a field in a list
FIELDQTY FIELDQTY(varname,delim) Count the fields with an arbitrary delimiter
FILE FILE(filename[,offset[,length[,opti Read or write text file.
FILE_COUNT_LINE FILE_COUNT_LINE(filename[,format]) Obtains the number of lines of a text file.
FILE_FORMAT FILE_FORMAT(filename) Return the newline format of a text file.
FILTER FILTER(allowed-chars,string) Filter the string to include only the allowed characters
FRAME_DROP FRAME_DROP(direction) Drops specific frame types in the TX or RX direction on a channel.
FRAME_TRACE FRAME_TRACE(filter list type) View internal ast_frames as they are read and written on a channel.
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.
HANGUPCAUSE HANGUPCAUSE(channel,type) Gets per-channel hangupcause information from the channel.
HANGUPCAUSE_KEYS HANGUPCAUSE_KEYS() Gets the list of channels for which hangup causes are available.
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.
HOLD_INTERCEPT HOLD_INTERCEPT(action) Intercepts hold frames on a channel and raises an event instead of passing the frame on
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(expression?[true][:false]) Check for an expression.
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.
INC INC(variable) Increments the value of a variable, while returning the updated value to the dialplan
ISNULL ISNULL(data) Check if a value is NULL.
JITTERBUFFER JITTERBUFFER(jitterbuffer type) Add a Jitterbuffer to the Read side of the channel. This dejitters the audio stream before it reaches the Asterisk core. This is a write only function.
JSON_DECODE JSON_DECODE(varname,item[,separator Returns the string value of a JSON object key from a string containing a JSON array.
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.
LTRIM LTRIM(string) Trim leading whitespace in a string
MASTER_CHANNEL MASTER_CHANNEL() Gets or sets variables on the master channel
MATH MATH(expression[,type]) Performs Mathematical Functions.
MAX MAX([num1][,num2]) Returns the maximum of two numbers.
MD5 MD5(data) Computes an MD5 digest.
MESSAGE MESSAGE(argument) Create a message or read fields from a message.
MESSAGE_DATA MESSAGE_DATA(argument) Read or write custom data attached to a message.
MIN MIN([num1][,num2]) Returns the minimum of two numbers.
MINIVMACCOUNT MINIVMACCOUNT(account:item) Gets MiniVoicemail account information.
MINIVMCOUNTER MINIVMCOUNTER(account:name[:operand Reads or sets counters for MiniVoicemail message.
MIXMONITOR MIXMONITOR(id,key) Retrieve data pertaining to specific instances of MixMonitor on a channel.
MUTEAUDIO MUTEAUDIO(direction) Muting audio streams in the channel
ODBC ODBC(property[,argument]) Controls ODBC transaction properties.
ODBC_ANTISOLICIT ODBC_ANTISOLICIT() Check if a specified callerid is contained in the known solicitors database
ODBC_FETCH ODBC_FETCH(result-id) Fetch a row from a multirow query.
ODBC_PRESENCE ODBC_PRESENCE([…[,]]) Runs the referenced query with the specified arguments
ODBC_SQL ODBC_SQL([…[,]]) Runs the referenced query with the specified arguments
PARK_GET_CHANNEL PARK_GET_CHANNEL(parking_space,park Get the channel name of an occupied parking space in a parking lot.
PASSTHRU PASSTHRU([string]) Pass the given argument back as a value.
PERIODIC_HOOK PERIODIC_HOOK(context,extension,int Execute a periodic dialplan hook into the audio of a call.
PITCH_SHIFT PITCH_SHIFT(channel direction) Pitch shift both tx and rx audio streams on a channel.
PJSIP_AOR PJSIP_AOR(name,field) Get information about a PJSIP AOR
PJSIP_CONTACT PJSIP_CONTACT(name,field) Get information about a PJSIP contact
PJSIP_DIAL_CONTACTS PJSIP_DIAL_CONTACTS(endpoint[,aor[, Return a dial string for dialing all contacts on an AOR.
PJSIP_DTMF_MODE PJSIP_DTMF_MODE() Get or change the DTMF mode for a SIP call.
PJSIP_ENDPOINT PJSIP_ENDPOINT(name,field) Get information about a PJSIP endpoint
PJSIP_HEADER PJSIP_HEADER(action,name[,number]) Gets headers from an inbound PJSIP channel. Adds, updates or removes the specified SIP header from an outbound PJSIP channel.
PJSIP_HEADERS PJSIP_HEADERS([prefix]) Gets the list of SIP header names from an INVITE message.
PJSIP_HEADER_PARAM PJSIP_HEADER_PARAM(header_name,para Get or set header/URI parameters on a PJSIP channel.
PJSIP_MEDIA_OFFER PJSIP_MEDIA_OFFER(media) Media and codec offerings to be set on an outbound SIP channel prior to dialing.
PJSIP_MOH_PASSTHROUG PJSIP_MOH_PASSTHROUGH() Get or change the on-hold behavior for a SIP call.
PJSIP_PARSE_URI PJSIP_PARSE_URI(uri,type) Parse an uri and return a type part of the URI.
PJSIP_RESPONSE_HEADE PJSIP_RESPONSE_HEADER(action,name[, Gets headers of 200 response from an outbound PJSIP channel.
PJSIP_RESPONSE_HEADE PJSIP_RESPONSE_HEADERS([prefix]) Gets the list of SIP header names from the 200 response of INVITE message.
PJSIP_SEND_SESSION_R PJSIP_SEND_SESSION_REFRESH([update_ W/O: Initiate a session refresh via an UPDATE or re-INVITE on an established media session
POP POP(varname[,delimiter]) Removes and returns the last item off of a variable containing delimited text
PRESENCE_STATE PRESENCE_STATE(provider,field[,opti Get or Set a presence state.
PUSH PUSH(varname[,delimiter]) Appends one or more values to the end of a variable containing delimited text
QUEUE_EXISTS QUEUE_EXISTS([queuename]) Check if a named queue exists on this server
QUEUE_GET_CHANNEL QUEUE_GET_CHANNEL(queuename[,positi Return caller at the specified position in a queue.
QUEUE_MEMBER QUEUE_MEMBER([queuename],option[,in Provides a count of queue members based on the provided criteria, or updates a queue member’s settings.
QUEUE_MEMBER_COUNT QUEUE_MEMBER_COUNT(queuename) Count number of members answering a queue.
QUEUE_MEMBER_LIST QUEUE_MEMBER_LIST(queuename) Returns a list of interfaces on a queue.
QUEUE_MEMBER_PENALTY QUEUE_MEMBER_PENALTY(queuename,inte Gets or sets queue members penalty.
QUEUE_VARIABLES QUEUE_VARIABLES(queuename) Return Queue information in variables.
QUEUE_WAITING_COUNT QUEUE_WAITING_COUNT([queuename]) Count number of calls currently waiting in a queue.
QUOTE QUOTE(string) Quotes a given string, escaping embedded quotes as necessary
RAND RAND([min][,max]) Choose a random number in a range.
REALTIME REALTIME(family,fieldmatch[,matchva RealTime Read/Write Functions.
REALTIME_DESTROY REALTIME_DESTROY(family,fieldmatch[ RealTime Destroy Function.
REALTIME_FIELD REALTIME_FIELD(family,fieldmatch,ma RealTime query function.
REALTIME_HASH REALTIME_HASH(family,fieldmatch,mat RealTime query function.
REALTIME_STORE REALTIME_STORE(family,field1,fieldN RealTime Store Function.
REDIRECTING REDIRECTING(datatype[,i]) Gets or sets Redirecting data on the channel.
REGEX REGEX(“regular expression” string) Check string against a regular expression.
REPLACE REPLACE(varname,find-chars[,replace Replace a set of characters in a given string with another character.
RTRIM RTRIM(string) Trim trailing whitespace in a string
SAYFILES SAYFILES(value[,type]) Returns the ampersand-delimited file names that would be played by the Say applications (e.g. SayAlpha, SayDigits).
SCRAMBLE SCRAMBLE([direction]) Scrambles audio on a channel.
SET SET(varname[=value]) SET assigns a value to a channel variable.
SHA1 SHA1(data) Computes a SHA1 digest.
SHARED SHARED(varname[,channel]) Gets or sets the shared variable specified.
SHELL SHELL(command) Executes a command using the system shell and captures its output.
SHIFT SHIFT(varname[,delimiter]) Removes and returns the first item off of a variable containing delimited text
SORT SORT(key1:val1[,key2:val2[,…]]) Sorts a list of key/vals into a list of keys, based upon the vals.
SPEECH SPEECH(argument) Gets information about speech recognition results.
SPEECH_ENGINE SPEECH_ENGINE(name) Get or change a speech engine specific attribute.
SPEECH_GRAMMAR SPEECH_GRAMMAR([nbest_number/]resul Gets the matched grammar of a result if available.
SPEECH_RESULTS_TYPE SPEECH_RESULTS_TYPE() Sets the type of results that will be returned.
SPEECH_SCORE SPEECH_SCORE([nbest_number/]result_ Gets the confidence score of a result.
SPEECH_TEXT SPEECH_TEXT([nbest_number/]result_n Gets the recognized text of a result.
SPRINTF SPRINTF(format,arg1[,arg2[,…][,ar Format a variable according to a format string.
SQL_ESC SQL_ESC(string) Escapes single ticks for use in SQL statements.
SQL_ESC_BACKSLASHES SQL_ESC_BACKSLASHES(string) Escapes backslashes for use in SQL statements.
SRVQUERY SRVQUERY(service) Initiate an SRV query.
SRVRESULT SRVRESULT(id,resultnum[,field]) Retrieve results from an SRVQUERY.
STACK_PEEK STACK_PEEK(n,which[,suppress]) View info about the location which called Gosub
STAT STAT(flag,filename) Does a check on the specified file.
STIR_SHAKEN STIR_SHAKEN(index[,value]) Gets the number of STIR/SHAKEN results or a specific STIR/SHAKEN value from a result on the channel.
STRBETWEEN STRBETWEEN(varname,insert-string) Inserts a substring between each character in a string.
STRFTIME STRFTIME([epoch][,timezone[,format] Returns the current date/time in the specified format.
STRPTIME STRPTIME(datetime,timezone,format) Returns the epoch of the arbitrary date/time string structured as described by the format.
STRREPLACE STRREPLACE(varname,find-string[,rep Replace instances of a substring within a string with another string.
SYSINFO SYSINFO(parameter) Returns system information specified by parameter.
TALK_DETECT TALK_DETECT(action) Raises notifications when Asterisk detects silence or talking on a channel.
TESTTIME TESTTIME(date,time[,zone]) Sets a time to be used with the channel to test logical conditions.
TIMEOUT TIMEOUT(timeouttype) Gets or sets timeouts on the channel. Timeout values are in seconds.
TOLOWER TOLOWER(string) Convert string to all lowercase letters.
TONE_DETECT TONE_DETECT(freq[,duration_ms[,opti Asynchronously detects a tone
TOUPPER TOUPPER(string) Convert string to all uppercase letters.
TRIM TRIM(string) Trim leading and trailing whitespace in a string
TRYLOCK TRYLOCK(lockname) Attempt to obtain a named mutex.
TXTCIDNAME TXTCIDNAME(number[,zone-suffix]) TXTCIDNAME looks up a caller name via DNS.
UNLOCK UNLOCK(lockname) Unlocks a named mutex.
UNSHIFT UNSHIFT(varname[,delimiter]) Inserts one or more values to the beginning of a variable containing delimited text
URIDECODE URIDECODE(data) Decodes a URI-encoded string according to RFC 2396.
URIENCODE URIENCODE(data) Encodes a string to URI-safe encoding according to RFC 2396.
VALID_EXTEN VALID_EXTEN([context],extension[,pr Determine whether an extension exists or not.
VERSION VERSION([info]) Return the Version info for this Asterisk.
VMCOUNT VMCOUNT(vmbox[,folder]) Count the voicemails in a specified mailbox or mailboxes.
VM_INFO VM_INFO(mailbox[@context],attribute Returns the selected attribute from a mailbox.
VOLUME VOLUME(direction[,options]) Set or get the TX or RX volume of a channel.
198 custom functions installed.