public OriginateCommand(IEndPointAddress caller, IEndPointAddress destination) { _caller = caller; _destination = destination; _dialplan = "XML"; _context = "default"; _callerIdName = string.Empty; _callerIdNumber = string.Empty; _timeout = 0; }
public OriginateCommand(IEndPointAddress caller, IEndPointAddress destination, string dialplan, string context, string callerIdName, string callerIdNumber, int timeout) { _caller = caller; _destination = destination; _dialplan = dialplan; _context = context; _callerIdName = callerIdName; _callerIdNumber = callerIdNumber; _timeout = timeout; _channelVariables = new List<EslChannelVariable>(); }