Class CallLog
Object used to keep track of all calls initiated, received or missed.
It contains the call ID, date & time at which the call took place and
it's duration (0 if it wasn't answered). You can also know if video
was enabled or not or if it was a conference, as well as it's average
quality.
If needed, you can also create a fake CallLog using
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class CallLog : LinphoneObject
Properties
CallId
Get the call ID used by the call.
Declaration
public string CallId { get; }
Property Value
Type | Description |
---|---|
System.String | The call ID used by the call as a string. |
Dir
Get the direction of the call.
Declaration
public CallDir Dir { get; }
Property Value
Type | Description |
---|---|
CallDir | The CallDir of the call. |
Duration
Get the duration of the call since connected.
Declaration
public int Duration { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The duration of the call in seconds. |
ErrorInfo
When the call was failed, return an object describing the failure.
Declaration
public ErrorInfo ErrorInfo { get; }
Property Value
Type | Description |
---|---|
ErrorInfo | ErrorInfo about the error encountered by the call associated with this call log or null. |
FromAddress
Get the origin address (ie from) of the call.
Declaration
public Address FromAddress { get; }
Property Value
Type | Description |
---|---|
Address | The origin Address (ie from) of the call. |
LocalAddress
Get the local address (that is from or to depending on call direction)
Declaration
public Address LocalAddress { get; }
Property Value
Type | Description |
---|---|
Address | The local Address of the call |
Quality
Get the overall quality indication of the call.
Declaration
public float Quality { get; }
Property Value
Type | Description |
---|---|
System.Single | The overall quality indication of the call. |
RefKey
Get the persistent reference key associated to the call log.
The reference key can be for example an id to an external database. It is stored in the config file, thus can survive to process exits/restarts.
Declaration
public string RefKey { get; set; }
Property Value
Type | Description |
---|---|
System.String | The reference key string that has been associated to the call log, or null if none has been associated. |
RemoteAddress
Get the remote address (that is from or to depending on call direction).
Declaration
public Address RemoteAddress { get; }
Property Value
Type | Description |
---|---|
Address | The remote Address of the call. |
StartDate
Get the start date of the call.
Declaration
public long StartDate { get; }
Property Value
Type | Description |
---|---|
System.Int64 | The date of the beginning of the call. |
Status
Get the status of the call.
Declaration
public CallStatus Status { get; }
Property Value
Type | Description |
---|---|
CallStatus | The CallStatus of the call. |
ToAddress
Get the destination address (ie to) of the call.
Declaration
public Address ToAddress { get; }
Property Value
Type | Description |
---|---|
Address | The destination Address (ie to) of the call. |
VideoEnabled
Tell whether video was enabled at the end of the call or not.
Declaration
public bool VideoEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value telling whether video was enabled at the end of the call. |
Methods
ToStr()
Get a human readable string describing the call.
Declaration
public string ToStr()
Returns
Type | Description |
---|---|
System.String | A human readable string describing the call. |
Remarks
Note : : the returned string must be freed by the application (use ms_free()).
WasConference()
Tells whether that call was a call to a conference server.
Declaration
public bool WasConference()
Returns
Type | Description |
---|---|
System.Boolean | true if the call was a call to a conference server, false otherwise. |