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 /// public string Exten { get; set; } /// /// Get/Set the Caller*ID of the calling party or an empty string if none is /// public string CallerId { get; set; } /// /// Get/Set the identifier of the remote fax station. /// public string RemoteStationId { get; set; } /// /// Get/Set the identifier of the local fax station. /// public string LocalStationId { get; set; } /// /// Get/Set the number of pages transferred. /// public int PagesTransferred { get; set; } /// /// Get/Set the row resolution of the received fax. /// public int Resolution { get; set; } /// /// Get/Set the transfer rate in bits/s. /// public int TransferRate { get; set; } /// /// Get/Set the filename of the received fax including its full path on the Asterisk server. /// public string Filename { get; set; } } }