EXTENSION_STATE()
Synopsis
Get an extension's state.
Description
The EXTENSION_STATE function can be used to retrieve the state from any hinted extension. For example:
NoOp([email protected] has state ${EXTENSION_STATE(1234)})
NoOp([email protected] has state ${EXTENSION_STATE([email protected])})
The possible values returned by this function are:
UNKNOWN | NOT_INUSE | INUSE | BUSY | INVALID | UNAVAILABLE | RINGING | RINGINUSE | HOLDINUSE | ONHOLD
Syntax
EXTENSION_STATE([email protected])
Arguments
extension
context
- If it is not specified defaults todefault
.
See Also
Import Version
This documentation was imported from Asterisk Version GIT-20-f8000daff5