net.sf.asterisk.manager.event
Class CdrEvent
java.lang.Object
java.util.EventObject
net.sf.asterisk.manager.event.ManagerEvent
net.sf.asterisk.manager.event.CdrEvent
- All Implemented Interfaces:
- java.io.Serializable
public class CdrEvent
- extends ManagerEvent
A CdrEvent is triggered when a call detail record is generated, usually at the end of a call.
To enable CdrEvents you have to add enabled = yes
to the general section in
cdr_manager.conf
.
This event is implemented in cdr/cdr_manager.c
- Version:
- $Id: CdrEvent.java,v 1.2 2005/02/23 22:50:58 srt Exp $
- Author:
- srt
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
CdrEvent(java.lang.Object source)
|
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 |
CdrEvent
public CdrEvent(java.lang.Object source)
- Parameters:
source
-
getAccountCode
public java.lang.String getAccountCode()
setAccountCode
public void setAccountCode(java.lang.String accountCode)
getSrc
public java.lang.String getSrc()
setSrc
public void setSrc(java.lang.String source)
getDestination
public java.lang.String getDestination()
setDestination
public void setDestination(java.lang.String destination)
getDestinationContext
public java.lang.String getDestinationContext()
setDestinationContext
public void setDestinationContext(java.lang.String destinationContext)
getCallerId
public java.lang.String getCallerId()
setCallerId
public void setCallerId(java.lang.String callerId)
getChannel
public java.lang.String getChannel()
setChannel
public void setChannel(java.lang.String channel)
getDestinationChannel
public java.lang.String getDestinationChannel()
setDestinationChannel
public void setDestinationChannel(java.lang.String destinationChannel)
getLastApplication
public java.lang.String getLastApplication()
setLastApplication
public void setLastApplication(java.lang.String lastApplication)
getLastData
public java.lang.String getLastData()
setLastData
public void setLastData(java.lang.String lastData)
getStartTime
public java.lang.String getStartTime()
setStartTime
public void setStartTime(java.lang.String startTime)
getAnswerTime
public java.lang.String getAnswerTime()
setAnswerTime
public void setAnswerTime(java.lang.String answerTime)
getEndTime
public java.lang.String getEndTime()
setEndTime
public void setEndTime(java.lang.String endTime)
getDuration
public java.lang.Integer getDuration()
setDuration
public void setDuration(java.lang.Integer duration)
getBillableSeconds
public java.lang.Integer getBillableSeconds()
setBillableSeconds
public void setBillableSeconds(java.lang.Integer billableSeconds)
getDisposition
public java.lang.String getDisposition()
setDisposition
public void setDisposition(java.lang.String disposition)
getAmaFlags
public java.lang.String getAmaFlags()
setAmaFlags
public void setAmaFlags(java.lang.String amaFlags)
getUniqueId
public java.lang.String getUniqueId()
setUniqueId
public void setUniqueId(java.lang.String uniqueId)
getUserField
public java.lang.String getUserField()
setUserField
public void setUserField(java.lang.String userField)
Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.