Page 550 - Asterisk™: The Future of Telephony
P. 550
Parameters
Exten
[required] The name of the extension to check.
Context
[required] The name of the context that contains the extension.
ActionId
[optional] An action identifier that can be used to identify this manager transaction.
Privilege
call, all
Example
Action: ExtensionState
Exten: 200
Context: lab
ActionID: 54321
Response: Success
ActionID: 54321
Message: Extension Status
Exten: 200
Context: lab
Hint: SIP/testphone
Status: 0
Notes
The following are the possible extension states:
-2
Extension removed
-1
Extension hint not found
0
Idle
1
In use
2
Busy
GetConfig Retrieves configuration
Retrieves the data from an Asterisk configuration file.
522 | Appendix F: Asterisk Manager Interface Actions