DIAL PLAN BASICS - VARIABLES

• Three types of variables available in the dial plan.

• Global

• Set in the [globals] section of extensions.conf

• Channel

• Variables set using the set command on a per channel basis

• A number of pre-defined channel variables - e.g. ${EXTEN}

• Environment

• Access to UNIX environment variables from within Asterisk

Some of the pre-defined channel variables:

${CALLERID}
${CALLERIDNAME}
${CALLERIDNUM}
${CHANNEL}
${CONTEXT}
${EXTEN}
${SIPUSERAGENT}
Free Web Hosting