using System;
namespace AsterNET.FastAGI.Command
{
///
/// Changes the CallerID of the current channel.
///
public class SetCallerIdCommand : AGICommand
{
/// The new callerId.
private string callerId;
///
/// Get/Set the new callerId.
///
public string CallerId
{
get { return callerId; }
set { this.callerId = value; }
}
///
/// Creates a new SetCallerIdCommand.
///
/// the new callerId.
public SetCallerIdCommand(string callerId)
{
this.callerId = callerId;
}
public override string BuildCommand()
{
return "SET CALLERID " + EscapeAndQuote(callerId);
}
}
}