|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CallDetailRecord
Represents an Asterisk Call Detail Record (CDR).
CdrEvent
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) . |
Method Detail |
---|
AsteriskChannel getChannel()
AsteriskChannel getDestinationChannel()
java.lang.String getAccountCode()
Corresponds to CDR field accountcode
.
AmaFlags getAmaFlags()
java.lang.String getDestinationContext()
Corresponds to CDR field dcontext
.
java.lang.String getDestinationExtension()
Corresponds to CDR field dst
.
Disposition getDisposition()
java.util.Date getStartDate()
java.util.Date getAnswerDate()
java.util.Date getEndDate()
java.lang.Integer getDuration()
Corresponds to CDR field duration
.
java.lang.Integer getBillableSeconds()
Corresponds to CDR field billsec
.
java.lang.String getLastApplication()
Corresponds to CDR field lastapp
.
null
if not avaialble.java.lang.String getLastAppData()
Corresponds to CDR field lastdata
.
null
if not avaialble.java.lang.String getUserField()
Set(CDR(userfield)=Value)
.
Corresponds to CDR field userfield
.
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |