Class SIPCDR
Call detail record for a SIP call.
Inheritance
System.Object
SIPCDR
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: SIPSorcery.dll
Syntax
[DataContract]
public class SIPCDR
Constructors
|
Improve this Doc
View Source
SIPCDR()
Declaration
|
Improve this Doc
View Source
Declaration
public SIPCDR(SIPCallDirection callDirection, SIPURI destination, SIPFromHeader from, string callId, SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint)
Parameters
Properties
|
Improve this Doc
View Source
AnsweredAt
Declaration
[DataMember]
public DateTime? AnsweredAt { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
AnswerReasonPhrase
Declaration
[DataMember]
public string AnswerReasonPhrase { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
AnswerStatus
Declaration
[DataMember]
public int AnswerStatus { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AnswerTime
Declaration
[DataMember]
public DateTime? AnswerTime { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
BridgeId
Declaration
[DataMember]
public Guid BridgeId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
|
Improve this Doc
View Source
CallDirection
Declaration
[DataMember]
public SIPCallDirection CallDirection { get; set; }
Property Value
|
Improve this Doc
View Source
CallId
Declaration
public string CallId { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CDRId
Declaration
[DataMember]
public Guid CDRId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
|
Improve this Doc
View Source
Created
Declaration
[DataMember]
public DateTime Created { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
Destination
Declaration
[DataMember]
public SIPURI Destination { get; set; }
Property Value
|
Improve this Doc
View Source
From
Declaration
public SIPFromHeader From { get; set; }
Property Value
|
Improve this Doc
View Source
HangupReason
Declaration
[DataMember]
public string HangupReason { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
HangupTime
Declaration
[DataMember]
public DateTime? HangupTime { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
InProgress
Declaration
public bool InProgress { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsAnswered
Declaration
public bool IsAnswered { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsHungup
Declaration
public bool IsHungup { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LocalSIPEndPoint
Declaration
public SIPEndPoint LocalSIPEndPoint { get; set; }
Property Value
|
Improve this Doc
View Source
ProgressReasonPhrase
Declaration
[DataMember]
public string ProgressReasonPhrase { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ProgressStatus
Declaration
[DataMember]
public int ProgressStatus { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ProgressTime
Declaration
[DataMember]
public DateTime? ProgressTime { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
RemoteEndPoint
Declaration
public SIPEndPoint RemoteEndPoint { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Answered(Int32, SIPResponseStatusCodesEnum, String, SIPEndPoint, SIPEndPoint)
Declaration
public void Answered(int answerStatusCode, SIPResponseStatusCodesEnum answerStatus, string answerReason, SIPEndPoint localEndPoint, SIPEndPoint remoteEndPoint)
Parameters
|
Improve this Doc
View Source
Cancelled(String)
Declaration
public void Cancelled(string cancelReason = null)
Parameters
Type |
Name |
Description |
System.String |
cancelReason |
|
|
Improve this Doc
View Source
GetAnsweredDuration()
Declaration
public int GetAnsweredDuration()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetProgressDuration()
Declaration
public int GetProgressDuration()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Hungup(String)
Declaration
public void Hungup(string hangupReason)
Parameters
Type |
Name |
Description |
System.String |
hangupReason |
|
|
Improve this Doc
View Source
Progress(SIPResponseStatusCodesEnum, String, SIPEndPoint, SIPEndPoint)
Declaration
public void Progress(SIPResponseStatusCodesEnum progressStatus, string progressReason, SIPEndPoint localEndPoint, SIPEndPoint remoteEndPoint)
Parameters
|
Improve this Doc
View Source
TimedOut()
Declaration
|
Improve this Doc
View Source
Updated()
Declaration
Events
|
Improve this Doc
View Source
CDRAnswered
Declaration
public static event CDRReadyDelegate CDRAnswered
Event Type
|
Improve this Doc
View Source
CDRCreated
Declaration
public static event CDRReadyDelegate CDRCreated
Event Type
|
Improve this Doc
View Source
CDRHungup
Declaration
public static event CDRReadyDelegate CDRHungup
Event Type
|
Improve this Doc
View Source
CDRUpdated
Declaration
public static event CDRReadyDelegate CDRUpdated
Event Type
Extension Methods