Click or drag to resize
LoginAction Constructor (String, String, String, String)
Creates a new LoginAction that performs a login via challenge/response.

Namespace: AsterNET.Manager.Action
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public LoginAction(
	string username,
	string authType,
	string key,
	string events
)

Parameters

username
Type: SystemString
the username as configured in Asterisk's manager.conf
authType
Type: SystemString
the digest alogrithm, must match the digest algorithm that was used with the corresponding ChallengeAction.
key
Type: SystemString
the hash of the user's password and the challenge
events
Type: SystemString
the event mask.
Set to "on" if all events should be send, "off" if not events should be sent or a combination of "system", "call" and "log" (separated by ',') to specify what kind of events should be sent.
See Also