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