Asterisk Manager API Action Status

Returns the status of all currently-open channels, or of the specified channel.

Action: Status
Parameters: Channel (optional), ActionID (optional)
Not specifying a Channel will return status of all channels.

Permissions required (1.4.26.2)
read=
write=call

Permissions required (1.6.0.6)
read=
write=reporting

Sample Query:
Action: Status
Channel: SIP/102-efe4
ActionID: blah

Sample Success Response:
Response: Success
Message: Channel status will follow

Event: Status
Channel: SIP/102-efe4
CallerID: "Test Client" <102>
Account:
State: Up
Context: sipclients
Extension: 102
Priority: 1
Seconds: 16
Link: SIP/102-cbcf
Uniqueid: 1113857632.4
ActionID: blah

Event: StatusComplete

Sample Failure Response:
Response: Error
Message: No such channel


Returns the status of all currently-open channels, or of the specified channel.

Action: Status
Parameters: Channel (optional), ActionID (optional)
Not specifying a Channel will return status of all channels.

Permissions required (1.4.26.2)
read=
write=call

Permissions required (1.6.0.6)
read=
write=reporting

Sample Query:
Action: Status
Channel: SIP/102-efe4
ActionID: blah

Sample Success Response:
Response: Success
Message: Channel status will follow

Event: Status
Channel: SIP/102-efe4
CallerID: "Test Client" <102>
Account:
State: Up
Context: sipclients
Extension: 102
Priority: 1
Seconds: 16
Link: SIP/102-cbcf
Uniqueid: 1113857632.4
ActionID: blah

Event: StatusComplete

Sample Failure Response:
Response: Error
Message: No such channel


Created by: flobi, Last modification: Fri 13 of Nov, 2009 (11:25 UTC) by bcnit
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+