2013-01-18 15:55:50 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Text;
|
|
|
|
|
2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Event
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
2013-03-15 19:26:36 +00:00
|
|
|
public class DTMFEvent : ManagerEvent
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
|
|
|
private string digit;
|
|
|
|
private string direction;
|
|
|
|
private bool begin;
|
|
|
|
private bool end;
|
|
|
|
|
|
|
|
public string Direction
|
|
|
|
{
|
|
|
|
get { return direction; }
|
|
|
|
set { this.direction = value; }
|
|
|
|
}
|
|
|
|
public string Digit
|
|
|
|
{
|
|
|
|
get { return digit; }
|
|
|
|
set { this.digit = value; }
|
|
|
|
}
|
|
|
|
public bool Begin
|
|
|
|
{
|
|
|
|
get { return begin; }
|
|
|
|
set { this.begin = value; }
|
|
|
|
}
|
|
|
|
public bool End
|
|
|
|
{
|
|
|
|
get { return end; }
|
|
|
|
set { this.end = value; }
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Creates a new DialEvent.
|
|
|
|
/// </summary>
|
|
|
|
public DTMFEvent(ManagerConnection source)
|
|
|
|
: base(source)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|