|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject net.sf.asterisk.manager.event.ManagerEvent net.sf.asterisk.manager.event.AbstractAgentEvent net.sf.asterisk.manager.event.FaxReceivedEvent
public class FaxReceivedEvent
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
.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
FaxReceivedEvent(java.lang.Object source)
|
Method Summary | |
---|---|
java.lang.String |
getCallerId()
Returns the Caller*ID of the calling party or an empty string if none is available. |
java.lang.String |
getChannel()
Returns the name of the channel the fax has been recieved on. |
java.lang.String |
getExten()
Returns the extension in Asterisk's dialplan the fax was received through. |
java.lang.String |
getFilename()
Returns the filename of the received fax including its full path on the Asterisk server. |
java.lang.String |
getLocalStationId()
Returns the identifier of the local fax station. |
java.lang.Integer |
getPagesTransferred()
Returns the number of pages transferred. |
java.lang.String |
getRemoteStationId()
Retruns the identifier of the remote fax station. |
java.lang.Integer |
getResolution()
Returns the row resolution of the received fax. |
java.lang.Integer |
getTransferRate()
Returns the transfer rate in bits/s. |
void |
setCallerId(java.lang.String callerId)
Sets the Caller*ID of the calling party. |
void |
setChannel(java.lang.String channel)
Sets the name of the channel the fax has been recieved on. |
void |
setExten(java.lang.String exten)
Sets the extension the fax was received through. |
void |
setFilename(java.lang.String filename)
Sets the filename of the received fax. |
void |
setLocalStationId(java.lang.String localStationId)
Sets the identifier of the local fax station. |
void |
setPagesTransferred(java.lang.Integer pagesTransferred)
Sets the number of pages transferred. |
void |
setRemoteStationId(java.lang.String remoteStationId)
Sets the identifier of the remote fax station. |
void |
setResolution(java.lang.Integer resolution)
Sets the row resolution of the received fax. |
void |
setTransferRate(java.lang.Integer transferRate)
Sets the transfer rate in bits/s. |
Methods inherited from class net.sf.asterisk.manager.event.AbstractAgentEvent |
---|
getMember, getQueue, getUniqueId, setMember, setQueue, setUniqueId |
Methods inherited from class net.sf.asterisk.manager.event.ManagerEvent |
---|
getDateReceived, getPrivilege, setDateReceived, setPrivilege, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FaxReceivedEvent(java.lang.Object source)
Method Detail |
---|
public java.lang.String getChannel()
getChannel
in class AbstractAgentEvent
public void setChannel(java.lang.String channel)
setChannel
in class AbstractAgentEvent
channel
- the name of the channel the fax has been recieved on.public java.lang.String getExten()
public void setExten(java.lang.String exten)
exten
- the extension the fax was received through.public java.lang.String getCallerId()
public void setCallerId(java.lang.String callerId)
callerId
- the Caller*ID of the calling party.public java.lang.String getRemoteStationId()
public void setRemoteStationId(java.lang.String remoteStationId)
remoteStationId
- the identifier of the remote fax station.public java.lang.String getLocalStationId()
public void setLocalStationId(java.lang.String localStationId)
localStationId
- the identifier of the local fax station.public java.lang.Integer getPagesTransferred()
public void setPagesTransferred(java.lang.Integer pagesTransferred)
pagesTransferred
- the number of pages transferred.public java.lang.Integer getResolution()
public void setResolution(java.lang.Integer resolution)
resolution
- the row resolution of the received fax.public java.lang.Integer getTransferRate()
public void setTransferRate(java.lang.Integer transferRate)
transferRate
- the transfer rate in bits/s.public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
filename
- the filename of the received fax
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |