Click or drag to resize
QueueAddAction Constructor (String, String, String, Int32)
Creates a new QueueAddAction that adds a new member on the given interface to the given queue with the given penalty.

Namespace: AsterNET.Manager.Action
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public QueueAddAction(
	string queue,
	string iface,
	string memberName,
	int penalty
)

Parameters

queue
Type: SystemString
the name of the queue the new member will be added to
iface
Type: SystemString
Sets the interface to add. To add a specific channel just use the channel name, e.g. "SIP/1234".
memberName
Type: SystemString
the name of the the new member will be added to
penalty
Type: SystemInt32
the penalty for this member.
The penalty must be a positive integer or 0 for no penalty. When calls are distributed members with higher penalties are considered last.
See Also