|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.asteriskjava.manager.event.ManagerEvent
org.asteriskjava.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(Object source)
|
|
| Method Summary | |
|---|---|
String |
getCallerId()
Returns the Caller*ID of the calling party or an empty string if none is available. |
String |
getChannel()
Returns the name of the channel the fax has been recieved on. |
String |
getExten()
Returns the extension in Asterisk's dialplan the fax was received through. |
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 |
setChannel(String channel)
Sets the name of the channel the fax has been recieved on. |
void |
setExten(String exten)
Sets the extension the fax was received through. |
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. |
| Methods inherited from class org.asteriskjava.manager.event.ManagerEvent |
|---|
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, 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(Object source)
| Method Detail |
|---|
public String getChannel()
public void setChannel(String channel)
channel - the name of the channel the fax has been recieved on.public String getExten()
public void setExten(String exten)
exten - the extension the fax was received through.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 fax
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||