Appendix E. Asterisk Dialplan Functions

Table of Contents

AGENT
ARRAY
BASE64_DECODE
BASE64_ENCODE
BLACKLIST
CALLERID
CDR
CHANNEL
CHECK_MD5
CHECKSIPDOMAIN
CURL
CUT
DB
DB_DELETE
DB_EXISTS
DUNDILOOKUP
ENUMLOOKUP
ENV
EVAL
EXISTS
FIELDQTY
FILTER
GLOBAL
GROUP
GROUP_COUNT
GROUP_LIST
GROUP_MATCH_COUNT
IAXPEER
IF
IFTIME
ISNULL
KEYPADHASH
LANGUAGE
LEN
MATH
MD5
MUSICCLASS
QUEUE_MEMBER_COUNT
QUEUE_MEMBER_LIST
QUEUE_WAITING_COUNT
QUEUEAGENTCOUNT
QUOTE
RAND
REALTIME
REGEX
SET
SHA1
SIP_HEADER
SIPCHANINFO
SIPPEER
SORT
SPEECH
SPEECH_ENGINE
SPEECH_GRAMMAR
SPEECH_SCORE
SPEECH_TEXT
SPRINTF
STAT
STRFTIME
STRPTIME
TIMEOUT
TXTCIDNAME
URIDECODE
URIENCODE
VMCOUNT

Dialplan functions are very powerful, and once you begin using them, you will wonder how you got along without them. Functions are used in the dialplan in a similar manner to variables. If it helps, you can think of them as intelligent variables (or for those of you from the database world, variables with triggers). When you invoke them, they perform a specific action, and their result becomes a part of the command in which you have included the function (in exactly the same way as a variable would).