GetConfigResponse Class |
Namespace: AsterNET.Manager.Response
The GetConfigResponse type exposes the following members.
Name | Description | |
---|---|---|
GetConfigResponse | Initializes a new instance of the GetConfigResponse class |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAttribute |
Returns the value of the attribute with the given key. (Inherited from ManagerResponse.)This is particulary important when a response contains special attributes that are dependent on the action that has been sent. An example of this is the response to the GetVarAction. It contains the value of the channel variable as an attribute stored under the key of the variable name. Example: GetVarAction action = new GetVarAction(); action.setChannel("SIP/1310-22c3"); action.setVariable("ALERT_INFO"); ManagerResponse response = connection.SendAction(action); String alertInfo = response.getAttribute("ALERT_INFO");As all attributes are internally stored in lower case the key is automatically converted to lower case before lookup. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsSuccess |
Return true if Response is success
(Inherited from ManagerResponse.) | |
Lines |
Returns the map of line number to line value for a given category.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Parse |
Unknown properties parser
(Inherited from ManagerResponse.) | |
ParseSpecial |
Unknown properties parser
(Inherited from ManagerResponse.) | |
ToString | (Inherited from ManagerResponse.) |
Name | Description | |
---|---|---|
attributes | (Inherited from ManagerResponse.) |
Name | Description | |
---|---|---|
ActionId |
Get/Set the action id received with this response referencing the action that generated this response.
(Inherited from ManagerResponse.) | |
Attributes |
Store all unknown (without setter) keys from manager event. (Inherited from ManagerResponse.)Use in default Parse method Parse(String, String). | |
Categories |
Get the map of category numbers to category names.
| |
DateReceived |
Get/Set the point in time this response was received from the asterisk server.
(Inherited from ManagerResponse.) | |
Message |
Get/Set the message received with this response. (Inherited from ManagerResponse.)The content depends on the action that generated this response. | |
Privilege |
Get/Set the AMI authorization class of this event. (Inherited from ManagerResponse.)This is one or more of system, call, log, verbose, command, agent or user. Multiple privileges are separated by comma. Note: This property is not available from Asterisk 1.0 servers. | |
Response |
Get/Set the value of the "Response:" line. (Inherited from ManagerResponse.)This typically a String like "Success" or "Error" but depends on the action that generated this response. | |
Server |
Specify a server to which to send your commands (x.x.x.x or hostname). (Inherited from ManagerResponse.)This should match the server name specified in your config file's "host" entry. If you do not specify a server, the proxy will pick the first one it finds -- fine in single-server configurations. | |
UniqueId |
Get/Set the unique id received with this response. (Inherited from ManagerResponse.)The unique id is used to keep track of channels created by the action sent, for example an OriginateAction. |