public class FaxReceivedEvent extends AbstractFaxEvent
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
.
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
FaxReceivedEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getCallerId()
Returns the Caller*ID of the calling party or an empty string if none is
available.
|
String |
getFilename()
Returns the filename of the received fax including its full path on the
Asterisk server.
|
String |
getLocalStationId()
Returns the identifier of the local fax station.
|
Integer |
getPagesTransferred()
Returns the number of pages transferred.
|
String |
getRemoteStationId()
Retruns the identifier of the remote fax station.
|
Integer |
getResolution()
Returns the row resolution of the received fax.
|
Integer |
getTransferRate()
Returns the transfer rate in bits/s.
|
void |
setCallerId(String callerId)
Sets the Caller*ID of the calling party.
|
void |
setFilename(String filename)
Sets the filename of the received fax.
|
void |
setLocalStationId(String localStationId)
Sets the identifier of the local fax station.
|
void |
setPagesTransferred(Integer pagesTransferred)
Sets the number of pages transferred.
|
void |
setRemoteStationId(String remoteStationId)
Sets the identifier of the remote fax station.
|
void |
setResolution(Integer resolution)
Sets the row resolution of the received fax.
|
void |
setTransferRate(Integer transferRate)
Sets the transfer rate in bits/s.
|
getChannel, getFaxSession, setChannel, setFaxSession
appendPropertyIfNotNull, getCallerIdName, getCallerIdNum, getChannelState, getChannelStateDesc, getConnectedLineName, getConnectedLineNum, getContext, getDateReceived, getExten, getFile, getFunc, getLine, getPriority, getPrivilege, getSequenceNumber, getServer, getSystemName, getTimestamp, setCallerIdName, setCallerIdNum, setChannelState, setChannelStateDesc, setConnectedLineName, setConnectedLineNum, setContext, setDateReceived, setExten, setFile, setFunc, setLine, setPriority, setPrivilege, setSequenceNumber, setServer, setSystemName, setTimestamp, toString
getSource
public FaxReceivedEvent(Object source)
public String getCallerId()
public void setCallerId(String callerId)
callerId
- the Caller*ID of the calling party.public String getRemoteStationId()
public void setRemoteStationId(String remoteStationId)
remoteStationId
- the identifier of the remote fax station.public String getLocalStationId()
public void setLocalStationId(String localStationId)
localStationId
- the identifier of the local fax station.public Integer getPagesTransferred()
public void setPagesTransferred(Integer pagesTransferred)
pagesTransferred
- the number of pages transferred.public Integer getResolution()
public void setResolution(Integer resolution)
resolution
- the row resolution of the received fax.public Integer getTransferRate()
public void setTransferRate(Integer transferRate)
transferRate
- the transfer rate in bits/s.public String getFilename()
public void setFilename(String filename)
filename
- the filename of the received faxCopyright © 2004–2020. All rights reserved.