AsterNet Class Library (Sandcastle documentation)

| AsterNET.Manager.Response Namespace

AsterNet Manager Response
Classes

| Class | Description
--- | --- | ---
| ChallengeResponse | Corresponds to a ChallengeAction and contains the challenge needed to log in using challenge/response.
| CommandResponse | Corresponds to a CommandAction. Asterisk's handling of the command action is generelly quite hairy. It sends a "Response: Follows" line followed by the raw output of the command including empty lines. At the end of the command output a line containing "--END COMMAND--" is sent. The reader parses this response into a CommandResponse object to hide these details.
| ExtensionStateResponse |

GetConfigResponse

Response that is received when sending a GetConfigAction.
Asterisk's response to the GetConfig command is ugly, and requires some parsing of attributes. This class lazily parses its own attributes to hide the ugly details. If the file requested exists but does not contain at least a line with a category, the ResponseBuilder won't create an instance of GetConfigResponse, as it won't know what the empty response is.

| MailboxCountResponse | A MailboxCountResponse is sent in response to a MailboxCountAction and contains the number of old and new messages in a mailbox.
| MailboxStatusResponse | A MailboxStatusResponse is sent in response to a MailboxStatusAction and indicates if a set of mailboxes contains waiting messages.
| ManagerError | Represents an "Response: Error" response received from the asterisk server. The cause for the error is given in the message attribute.
| ManagerResponse | Represents a response received from the Asterisk server as the result of a previously sent ManagerAction. The response can be linked with the action that caused it by looking the action id attribute that will match the action id of the corresponding action.
| OriginateResponse |