text
stringlengths
0
152
func_global
Purpose
Allows calls to be recorded after transfer
Writes/reads blacklist in astdb
Gets/sets call-completion configuration parameters for the channel
Gets/sets caller ID
Gets/sets CDR variable
Gets/sets channel information
Includes AST_CONFIG(); reads variables from config file
Uses cURL to obtain data from a URI
Slices and dices strings
Provides astdb functions
Gets state of device
Creates a group for simultaneous dialing
Validates that designated target exists in dialplan
Includes FILE(), STAT(), and ENV(); performs operating system actions
Gets/sets global variables
16
|
Chapter 2: Asterisk Architecture
Name
func_groupcount
func_hangupcause
func_logic
func_math
func_odbc
func_rand
func_realtime
func_redirecting
func_shell
func_sprintf
func_srv
func_strings
func_timeout
func_uri
func_vmcount
Purpose
Gets/sets channel count for members of a group
Gets/sets hangupcause information from the channel
Includes ISNULL(), SET(), EXISTS(), IF(), IFTIME(), and IMPORT(); performs
various logical functions
Includes MATH(), INC(), and DEC(); performs mathematical functions
Allows dialplan integration with ODBC resources
Returns a random number within a given range
Performs lookups within the Asterisk Realtime Architecture (ARA)
Provides access to information about where this call was redirected from
Performs Linux shell operations and returns results
Performs string format functions similar to C function of same name
Performs SRV lookups in the dialplan
Includes over a dozen string manipulation functions
Gets/sets timeouts on channel
Converts strings to URI-safe encoding
Returns count of messages in a voicemail folder for a particular user
PBX Modules
The PBX modules are peripheral modules that provide enhanced control and config‐
uration mechanisms. For example, pbx_config is the module that loads the tradi‐
tional Asterisk dialplan. The currently available PBX modules are listed in Table 2-9.
Table 2-9. PBX modules
Name
pbx_config
pbx_dundi
Purpose
This module provides the traditional, and most popular, dialplan language for Asterisk. Without this
module, Asterisk cannot read extensions.conf.
Performs data lookups on remote Asterisk systems.
pbx_realtime Provides functionality related to the Asterisk Realtime Architecture.
pbx_spool
Provides outgoing spool support relating to Asterisk call files.
Resource Modules