net.sf.asterisk.manager.event
Class CdrEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.sf.asterisk.manager.event.ManagerEvent
          extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CdrEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getAccountCode()
           
 java.lang.String getAmaFlags()
           
 java.lang.String getAnswerTime()
           
 java.lang.Integer getBillableSeconds()
           
 java.lang.String getCallerId()
           
 java.lang.String getChannel()
           
 java.lang.String getDestination()
           
 java.lang.String getDestinationChannel()
           
 java.lang.String getDestinationContext()
           
 java.lang.String getDisposition()
           
 java.lang.Integer getDuration()
           
 java.lang.String getEndTime()
           
 java.lang.String getLastApplication()
           
 java.lang.String getLastData()
           
 java.lang.String getSrc()
           
 java.lang.String getStartTime()
           
 java.lang.String getUniqueId()
           
 java.lang.String getUserField()
           
 void setAccountCode(java.lang.String accountCode)
           
 void setAmaFlags(java.lang.String amaFlags)
           
 void setAnswerTime(java.lang.String answerTime)
           
 void setBillableSeconds(java.lang.Integer billableSeconds)
           
 void setCallerId(java.lang.String callerId)
           
 void setChannel(java.lang.String channel)
           
 void setDestination(java.lang.String destination)
           
 void setDestinationChannel(java.lang.String destinationChannel)
           
 void setDestinationContext(java.lang.String destinationContext)
           
 void setDisposition(java.lang.String disposition)
           
 void setDuration(java.lang.Integer duration)
           
 void setEndTime(java.lang.String endTime)
           
 void setLastApplication(java.lang.String lastApplication)
           
 void setLastData(java.lang.String lastData)
           
 void setSrc(java.lang.String source)
           
 void setStartTime(java.lang.String startTime)
           
 void setUniqueId(java.lang.String uniqueId)
           
 void setUserField(java.lang.String userField)
           
 
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

CdrEvent

public CdrEvent(java.lang.Object source)
Parameters:
source -
Method Detail

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.