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
Linphone.CallLog using
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class CallLog : LinphoneObject
Properties
CallId
Gets 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. |
ChatRoom
Returns the chat room associated with this call-log, if any.
This method is typically useful in order to retrieve an IM conversation associated with a past conference call.
Declaration
public ChatRoom ChatRoom { get; }
Property Value
Type | Description |
---|---|
ChatRoom | The Linphone.ChatRoom associated. |
ConferenceInfo
Retrieves the conference info associated to this call log in DB.
Declaration
public ConferenceInfo ConferenceInfo { get; }
Property Value
Type | Description |
---|---|
ConferenceInfo | The Linphone.ConferenceInfo associated. |
Dir
Gets the direction of the call.
Declaration
public CallDir Dir { get; }
Property Value
Type | Description |
---|---|
CallDir | The Linphone.CallDir of the call. |
Duration
Gets the duration of the call since it was 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 | Linphone.ErrorInfo about the error encountered by the call associated with this call log or null. |
FromAddress
Gets the origin address (ie from) of the call.
Declaration
public Address FromAddress { get; }
Property Value
Type | Description |
---|---|
Address | The origin Linphone.Address (ie from) of the call. |
LocalAddress
Gets the local address (that is from or to depending on call direction)
Declaration
public Address LocalAddress { get; }
Property Value
Type | Description |
---|---|
Address | The local Linphone.Address of the call |
Quality
Gets 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. |
Remarks
RefKey
Gets 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
Gets the remote address (that is from or to depending on call direction).
Declaration
public Address RemoteAddress { get; set; }
Property Value
Type | Description |
---|---|
Address | The remote Linphone.Address of the call. |
StartDate
Gets 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
Gets the status of the call.
Declaration
public CallStatus Status { get; }
Property Value
Type | Description |
---|---|
CallStatus | The Linphone.CallStatus of the call. |
ToAddress
Gets the destination address (ie to) of the call.
Declaration
public Address ToAddress { get; }
Property Value
Type | Description |
---|---|
Address | The destination Linphone.Address (ie to) of the call. |
VideoEnabled
Tells 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()
Gets 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 part of a conference.
Declaration
public bool WasConference()
Returns
Type | Description |
---|---|
System.Boolean | true if the call was part of a conference, false otherwise. |