Managing call logs


Data Structures

struct  _LinphoneCallLog

Typedefs

typedef enum _LinphoneCallDir LinphoneCallDir
typedef enum _LinphoneCallStatus LinphoneCallStatus
typedef struct _LinphoneCallLog LinphoneCallLog

Enumerations

enum  _LinphoneCallDir {
  LinphoneCallOutgoing,
  LinphoneCallIncoming
}
enum  _LinphoneCallStatus {
  LinphoneCallSuccess,
  LinphoneCallAborted,
  LinphoneCallMissed
}

Functions

char * linphone_call_log_to_str (LinphoneCallLog *cl)
void linphone_call_log_set_ref_key (LinphoneCallLog *cl, const char *refkey)
const char * linphone_call_log_get_ref_key (const LinphoneCallLog *cl)
const MSList * linphone_core_get_call_logs (LinphoneCore *lc)
void linphone_core_clear_call_logs (LinphoneCore *lc)

Typedef Documentation

Typedef for enum

Enum representing the status of a call

Structure representing a call log.


Enumeration Type Documentation

Enum representing the direction of a call.

Enumerator:
LinphoneCallOutgoing  outgoing calls
LinphoneCallIncoming  incoming calls

Enum representing the status of a call

Enumerator:
LinphoneCallSuccess  The call was sucessful
LinphoneCallAborted  The call was aborted
LinphoneCallMissed  The call was missed (unanswered)


Function Documentation

char* linphone_call_log_to_str ( LinphoneCallLog cl  ) 

Returns a human readable string describing the call.

Note:
: the returned char* must be freed by the application (use ms_free()).

void linphone_call_log_set_ref_key ( LinphoneCallLog cl,
const char *  refkey 
)

Associate a persistent reference key 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.

const char* linphone_call_log_get_ref_key ( const LinphoneCallLog cl  ) 

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.

const MSList* linphone_core_get_call_logs ( LinphoneCore *  lc  ) 

Get the list of call logs (past calls).

void linphone_core_clear_call_logs ( LinphoneCore *  lc  ) 

Erase the call log.


Generated on Fri May 21 08:30:43 2010 for liblinphone by  doxygen 1.5.8