Exemple #1
0
 public SocketEvent SendDTMF(DTMFQueueDelays delay, string dtmfString, int?durationMS)
 {
     return(ExecuteApplication("send_dtmf", (delay == DTMFQueueDelays.None ? "" : ((char)delay).ToString()) + dtmfString + (durationMS.HasValue ? "@" + durationMS.ToString() : ""), true));
 }
Exemple #2
0
 public void QueueDTMF(DTMFQueueDelays delay, string dtmfString, int?durationMS)
 {
     ExecuteApplication("queue_dtmf", (delay == DTMFQueueDelays.None ? "" : ((char)delay).ToString()) + dtmfString + (durationMS.HasValue ? "@" + durationMS.ToString() : ""), true);
 }
 public SocketEvent SendDTMF(DTMFQueueDelays delay, string dtmfString, int? durationMS)
 {
     return ExecuteApplication("send_dtmf", (delay == DTMFQueueDelays.None ? "" : ((char)delay).ToString()) + dtmfString + (durationMS.HasValue ? "@" + durationMS.ToString() : ""), true);
 }
 public SendDTMF(DTMFQueueDelays delay, string dtmfString, int? durationMS)
 {
     _delay = delay;
     _dtmfString = dtmfString;
     _durationMS = durationMS;
 }
 public void QueueDTMF(DTMFQueueDelays delay, string dtmfString, int? durationMS)
 {
     ExecuteApplication("queue_dtmf", (delay == DTMFQueueDelays.None ? "" : ((char)delay).ToString()) + dtmfString + (durationMS.HasValue ? "@" + durationMS.ToString() : ""), true);
 }