2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Event
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
|
|
|
/// A CdrEvent is triggered when a call detail record is generated, usually at the end of a call.<br />
|
|
|
|
/// To enable CdrEvents you have to add <code>enabled = yes</code> to the general section in
|
|
|
|
/// <code>cdr_manager.conf</code>.<br />
|
|
|
|
/// This event is implemented in <code>cdr/cdr_manager.c</code>
|
|
|
|
/// </summary>
|
|
|
|
public class CdrEvent : ManagerEvent
|
|
|
|
{
|
|
|
|
public CdrEvent(ManagerConnection source)
|
|
|
|
: base(source)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public string AccountCode { get; set; }
|
|
|
|
|
|
|
|
public string Src { get; set; }
|
|
|
|
|
|
|
|
public string Destination { get; set; }
|
|
|
|
|
|
|
|
public string DestinationContext { get; set; }
|
|
|
|
|
|
|
|
public string CallerId { get; set; }
|
|
|
|
|
|
|
|
public string DestinationChannel { get; set; }
|
|
|
|
|
|
|
|
public string LastApplication { get; set; }
|
|
|
|
|
|
|
|
public string LastData { get; set; }
|
|
|
|
|
|
|
|
public string StartTime { get; set; }
|
|
|
|
|
|
|
|
public string AnswerTime { get; set; }
|
|
|
|
|
|
|
|
public string EndTime { get; set; }
|
|
|
|
|
|
|
|
public long Duration { get; set; }
|
|
|
|
|
|
|
|
public long BillableSeconds { get; set; }
|
|
|
|
|
|
|
|
public string Disposition { get; set; }
|
|
|
|
|
|
|
|
public string AmaFlags { get; set; }
|
|
|
|
|
|
|
|
public string UserField { get; set; }
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
}
|