August 2007
Intermediate to advanced
608 pages
20h 33m
English
ExtensionState — Checks extension status
This command reports the extension state for the given extension. If the extension has a hint, this will report the status of the device connected to the extension.
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.
call, all
Action: ExtensionStateExten: 200Context: labActionID: 54321Response: SuccessActionID: 54321Message: Extension StatusExten: 200Context: labHint: SIP/testphoneStatus: 0
The following are the possible extension states:
-2Extension removed
-1Extension hint not found
0Idle
1In use
2Busy