Skip to end of metadata
Go to start of metadata

Reload()

Synopsis

Reloads an Asterisk module, blocking the channel until the reload has completed.

Description

Reloads the specified (or all) Asterisk modules and reports success or failure. Success is determined by each individual module, and if all reloads are successful, that is considered an aggregate success. If multiple modules are specified and any module fails, then FAILURE will be returned. It is still possible that other modules did successfully reload, however.

Sets RELOADSTATUS to one of the following values:

  • RELOADSTATUS
    • SUCCESS - Specified module(s) reloaded successfully.
    • FAILURE - Some or all of the specified modules failed to reload.

Syntax

Reload([module])
Arguments
  • module - The full name(s) of the target module(s) or resource(s) to reload. If omitted, everything will be reloaded.
    The full names MUST be specified (e.g. chan_iax2 to reload IAX2 or pbx_config to reload the dialplan.

See Also

Import Version

This documentation was imported from Asterisk Version GIT-20-f8000daff5

  • No labels