Show / Hide Table of Contents

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()
Namespace: SIPSorcery.SIP
Assembly: SIPSorcery.dll
Syntax
[DataContract]
public class SIPCDR

Constructors

| Improve this Doc View Source

SIPCDR()

Declaration
public SIPCDR()
| Improve this Doc View Source

SIPCDR(SIPCallDirection, SIPURI, SIPFromHeader, String, SIPEndPoint, SIPEndPoint)

Declaration
public SIPCDR(SIPCallDirection callDirection, SIPURI destination, SIPFromHeader from, string callId, SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint)
Parameters
Type Name Description
SIPCallDirection callDirection
SIPURI destination
SIPFromHeader from
System.String callId
SIPEndPoint localSIPEndPoint
SIPEndPoint remoteEndPoint

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
Type Description
SIPCallDirection
| 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
Type Description
SIPURI
| Improve this Doc View Source

From

Declaration
public SIPFromHeader From { get; set; }
Property Value
Type Description
SIPFromHeader
| 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
Type Description
SIPEndPoint
| 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
Type Description
SIPEndPoint

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
Type Name Description
System.Int32 answerStatusCode
SIPResponseStatusCodesEnum answerStatus
System.String answerReason
SIPEndPoint localEndPoint
SIPEndPoint remoteEndPoint
| 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
Type Name Description
SIPResponseStatusCodesEnum progressStatus
System.String progressReason
SIPEndPoint localEndPoint
SIPEndPoint remoteEndPoint
| Improve this Doc View Source

TimedOut()

Declaration
public void TimedOut()
| Improve this Doc View Source

Updated()

Declaration
public void Updated()

Events

| Improve this Doc View Source

CDRAnswered

Declaration
public static event CDRReadyDelegate CDRAnswered
Event Type
Type Description
CDRReadyDelegate
| Improve this Doc View Source

CDRCreated

Declaration
public static event CDRReadyDelegate CDRCreated
Event Type
Type Description
CDRReadyDelegate
| Improve this Doc View Source

CDRHungup

Declaration
public static event CDRReadyDelegate CDRHungup
Event Type
Type Description
CDRReadyDelegate
| Improve this Doc View Source

CDRUpdated

Declaration
public static event CDRReadyDelegate CDRUpdated
Event Type
Type Description
CDRReadyDelegate

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX