|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.asteriskjava.live.internal.CallDetailRecordImpl
public class CallDetailRecordImpl
Default implementation of the CallDetailRecord interface.
| Method Summary | |
|---|---|
java.lang.String |
getAccountCode()
Returns the account number that is usually used to identify the party to bill for the call. |
AmaFlags |
getAmaFlags()
|
java.util.Date |
getAnswerDate()
|
java.lang.Integer |
getBillableSeconds()
Returns the total time (in seconds) the call was up from answer to hangup. |
AsteriskChannel |
getChannel()
|
AsteriskChannel |
getDestinationChannel()
|
java.lang.String |
getDestinationContext()
Returns the destination context. |
java.lang.String |
getDestinationExtension()
Returns the destination extension. |
Disposition |
getDisposition()
|
java.lang.Integer |
getDuration()
Returns the total time (in seconds) the caller spent in the system from dial to hangup. |
java.util.Date |
getEndDate()
|
java.lang.String |
getLastAppData()
Returns the last application's data (arguments), for example "s1234". |
java.lang.String |
getLastApplication()
Returns the last application if appropriate, for example "VoiceMail". |
java.util.Date |
getStartDate()
|
java.lang.String |
getUserField()
Returns the user-defined field as set by Set(CDR(userfield)=Value). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public AsteriskChannel getChannel()
getChannel in interface CallDetailRecordpublic AsteriskChannel getDestinationChannel()
getDestinationChannel in interface CallDetailRecordpublic java.lang.String getAccountCode()
CallDetailRecord
Corresponds to CDR field accountcode.
getAccountCode in interface CallDetailRecordpublic AmaFlags getAmaFlags()
getAmaFlags in interface CallDetailRecordpublic java.util.Date getAnswerDate()
getAnswerDate in interface CallDetailRecordpublic java.lang.Integer getBillableSeconds()
CallDetailRecord
Corresponds to CDR field billsec.
getBillableSeconds in interface CallDetailRecordpublic java.lang.String getDestinationContext()
CallDetailRecord
Corresponds to CDR field dcontext.
getDestinationContext in interface CallDetailRecordpublic java.lang.String getDestinationExtension()
CallDetailRecord
Corresponds to CDR field dst.
getDestinationExtension in interface CallDetailRecordpublic Disposition getDisposition()
getDisposition in interface CallDetailRecordpublic java.lang.Integer getDuration()
CallDetailRecord
Corresponds to CDR field duration.
getDuration in interface CallDetailRecordpublic java.util.Date getEndDate()
getEndDate in interface CallDetailRecordpublic java.lang.String getLastApplication()
CallDetailRecord
Corresponds to CDR field lastapp.
getLastApplication in interface CallDetailRecordnull if not avaialble.public java.lang.String getLastAppData()
CallDetailRecord
Corresponds to CDR field lastdata.
getLastAppData in interface CallDetailRecordnull if not avaialble.public java.util.Date getStartDate()
getStartDate in interface CallDetailRecordpublic java.lang.String getUserField()
CallDetailRecordSet(CDR(userfield)=Value).
Corresponds to CDR field userfield.
getUserField in interface CallDetailRecord
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||