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 FaxReceivedEvent is triggered by spandsp after a new fax has been received.<br />
|
|
|
|
/// It is only available if you installed the spandsp patches to Asterisk.<br />
|
|
|
|
/// See http://soft-switch.org/installing-spandsp.html for details.<br />
|
|
|
|
/// Implemented in <code>apps/app_rxfax.c</code>.
|
|
|
|
/// </summary>
|
|
|
|
public class FaxReceivedEvent : AbstractAgentEvent
|
|
|
|
{
|
|
|
|
public FaxReceivedEvent(ManagerConnection source)
|
|
|
|
: base(source)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the extension in Asterisk's dialplan the fax was received
|
|
|
|
/// </summary>
|
|
|
|
public string Exten { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the Caller*ID of the calling party or an empty string if none is
|
|
|
|
/// </summary>
|
|
|
|
public string CallerId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the identifier of the remote fax station.
|
|
|
|
/// </summary>
|
|
|
|
public string RemoteStationId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the identifier of the local fax station.
|
|
|
|
/// </summary>
|
|
|
|
public string LocalStationId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the number of pages transferred.
|
|
|
|
/// </summary>
|
|
|
|
public int PagesTransferred { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the row resolution of the received fax.
|
|
|
|
/// </summary>
|
|
|
|
public int Resolution { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the transfer rate in bits/s.
|
|
|
|
/// </summary>
|
|
|
|
public int TransferRate { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the filename of the received fax including its full path on the Asterisk server.
|
|
|
|
/// </summary>
|
|
|
|
public string Filename { get; set; }
|
|
|
|
}
|
|
|
|
}
|