text
stringlengths
0
152
Resource modules integrate Asterisk with external resources. This group of modules
has effectively turned into a catch-all for things that do not fit in other categories. We
will break them into some subgroups of modules that are related.
Configuration backends
Asterisk is configured using text files in /etc/asterisk by default. These modules, listed
in Table 2-10, offer alternative configuration methods. See Chapter 15 for detailed
documentation on setting up database-backed configuration.
Modules
|
17
Table 2-10. Configuration backend modules
Purpose
Name
res_config_curl Pulls configuration information using cURL
res_config_ldap Pulls configuration information using LDAP
res_config_odbc Pulls configuration information using ODBC
Calendar integration
Asterisk includes some integration with calendar systems. You can read and write cal‐
endar information from the dialplan. You can also have calls originated based on cal‐
endar entries. The core calendar integration is provided by the res_calendar
module. The rest of the modules provide the ability to connect to specific types of
calendar servers. Table 2-11 lists the calendar integration modules.
Table 2-11. Calendar integration modules
Name
res_calendar
res_calendar_caldav
Purpose
Enables base integration to calendaring systems
Allows features provided by res_calendar to connect to calendars via CalDAV
Allows features provided by res_calendar to connect to MS Exchange
res_calendar_exchange
res_calendar_icalendar Allows features provided by res_calendar to connect to Apple/Google iCalendar
Other resource modules
Table 2-12 includes the rest of the resource modules that did not fit into one of the
subgroups we defined earlier in this section.
Table 2-12. Resource modules
res_agi
res_crypto
res_corosync
Name
res_adsi
Purpose
Provides ADSIa
Provides the Asterisk Gateway Interface (see Chapter 18)
Provides distributed message waiting indication (MWI) and device state notifications via the
Corosync Cluster Engine
Provides cryptographic capabilities
Provides common subroutines for other cURL modules
Provides common subroutines for other fax modules
Plug-in for fax using the spandsp package
Provides POST upload support for the Asterisk HTTP server
res_http_websocket Provides WebSocket support for the Asterisk internal HTTP server (required by WebRTC)
res_monitor
res_fax_spandsp
res_http_post
res_curl
res_fax
res_musiconhold
res_mutestream
res_odbc
Provides call-recording resources
Provides music on hold (MOH) resources
Allows muting/unmuting of audio streams
Provides common subroutines for other ODBC modules
18
|