Liblinphone
3.11.1
|
Macros | |
#define | linphone_call_log_get_from(cl) linphone_call_log_get_from_address(cl) |
#define | linphone_call_log_get_to(cl) linphone_call_log_get_to_address(cl) |
#define | linphone_call_log_set_user_pointer(cl, ud) linphone_call_log_set_user_data(cl, ud) |
#define | linphone_call_log_get_user_pointer(cl) linphone_call_log_get_user_data(cl) |
Typedefs | |
typedef enum _LinphoneCallDir | LinphoneCallDir |
typedef struct _LinphoneCallLog | LinphoneCallLog |
typedef enum _LinphoneCallStatus | LinphoneCallStatus |
Enumerations | |
enum | _LinphoneCallDir { LinphoneCallOutgoing, LinphoneCallIncoming } |
enum | _LinphoneCallStatus { LinphoneCallSuccess, LinphoneCallAborted, LinphoneCallMissed, LinphoneCallDeclined } |
#define linphone_call_log_get_from | ( | cl | ) | linphone_call_log_get_from_address(cl) |
#define linphone_call_log_get_to | ( | cl | ) | linphone_call_log_get_to_address(cl) |
#define linphone_call_log_get_user_pointer | ( | cl | ) | linphone_call_log_get_user_data(cl) |
#define linphone_call_log_set_user_pointer | ( | cl, | |
ud | |||
) | linphone_call_log_set_user_data(cl, ud) |
typedef enum _LinphoneCallDir LinphoneCallDir |
Enum representing the direction of a call.
typedef struct _LinphoneCallLog LinphoneCallLog |
Structure representing a call log.
typedef enum _LinphoneCallStatus LinphoneCallStatus |
Enum representing the status of a call
enum _LinphoneCallDir |
enum _LinphoneCallStatus |
void linphone_call_log_destroy | ( | LinphoneCallLog * | cl | ) |
Destroy a LinphoneCallLog.
cl | LinphoneCallLog object |
const char* linphone_call_log_get_call_id | ( | const LinphoneCallLog * | cl | ) |
Get the call ID used by the call.
[in] | cl | LinphoneCallLog object |
LinphoneCallDir linphone_call_log_get_dir | ( | LinphoneCallLog * | cl | ) |
Get the direction of the call.
[in] | cl | LinphoneCallLog object |
int linphone_call_log_get_duration | ( | LinphoneCallLog * | cl | ) |
Get the duration of the call since connected.
[in] | cl | LinphoneCallLog object |
LinphoneAddress* linphone_call_log_get_from_address | ( | LinphoneCallLog * | cl | ) |
Get the origin address (ie from) of the call.
[in] | cl | LinphoneCallLog object |
const rtp_stats_t* linphone_call_log_get_local_stats | ( | const LinphoneCallLog * | cl | ) |
Get the RTP statistics computed locally regarding the call.
[in] | cl | LinphoneCallLog object |
float linphone_call_log_get_quality | ( | LinphoneCallLog * | cl | ) |
Get the overall quality indication of the call.
[in] | cl | LinphoneCallLog object |
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.
[in] | cl | LinphoneCallLog object |
LinphoneAddress* linphone_call_log_get_remote_address | ( | LinphoneCallLog * | cl | ) |
Get the remote address (that is from or to depending on call direction).
[in] | cl | LinphoneCallLog object |
const rtp_stats_t* linphone_call_log_get_remote_stats | ( | const LinphoneCallLog * | cl | ) |
Get the RTP statistics computed by the remote end and sent back via RTCP.
[in] | cl | LinphoneCallLog object |
time_t linphone_call_log_get_start_date | ( | LinphoneCallLog * | cl | ) |
Get the start date of the call.
[in] | cl | LinphoneCallLog object |
LinphoneCallStatus linphone_call_log_get_status | ( | LinphoneCallLog * | cl | ) |
Get the status of the call.
[in] | cl | LinphoneCallLog object |
LinphoneAddress* linphone_call_log_get_to_address | ( | LinphoneCallLog * | cl | ) |
Get the destination address (ie to) of the call.
[in] | cl | LinphoneCallLog object |
void* linphone_call_log_get_user_data | ( | const LinphoneCallLog * | cl | ) |
Get the user data associated with the call log.
[in] | cl | LinphoneCallLog object |
LinphoneCallLog* linphone_call_log_ref | ( | LinphoneCallLog * | cl | ) |
Acquire a reference to the call log.
[in] | cl | LinphoneCallLog object |
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.
[in] | cl | LinphoneCallLog object |
[in] | refkey | The reference key string to associate to the call log. |
void linphone_call_log_set_user_data | ( | LinphoneCallLog * | cl, |
void * | ud | ||
) |
Assign a user data to the call log.
[in] | cl | LinphoneCallLog object |
[in] | ud | The user data to associate with the call log. |
char* linphone_call_log_to_str | ( | LinphoneCallLog * | cl | ) |
Get a human readable string describing the call.
[in] | cl | LinphoneCallLog object |
void linphone_call_log_unref | ( | LinphoneCallLog * | cl | ) |
Release a reference to the call log.
[in] | cl | LinphoneCallLog object |
bool_t linphone_call_log_video_enabled | ( | LinphoneCallLog * | cl | ) |
Tell whether video was enabled at the end of the call or not.
[in] | cl | LinphoneCallLog object |
bool_t linphone_call_log_was_conference | ( | LinphoneCallLog * | cl | ) |
Tells whether that call was a call to a conference server
[in] | cl | LinphoneCallLog object |
void linphone_core_clear_call_logs | ( | LinphoneCore * | lc | ) |
Erase the call log.
[in] | lc | LinphoneCore object |
LinphoneCallLog* linphone_core_find_call_log_from_call_id | ( | LinphoneCore * | lc, |
const char * | call_id | ||
) |
Get the call log matching the call id, or NULL if can't be found.
[in] | lc | LinphoneCore object |
[in] | call_id | Call id of the call log to find |
bctbx_list_t* linphone_core_get_call_history_for_address | ( | LinphoneCore * | lc, |
const LinphoneAddress * | addr | ||
) |
Get the list of call logs (past calls) that matches the given LinphoneAddress. At the contrary of linphone_core_get_call_logs, it is your responsibility to unref the logs and free this list once you are done using it.
[in] | lc | LinphoneCore object |
[in] | addr | LinphoneAddress object |
const bctbx_list_t* linphone_core_get_call_logs | ( | LinphoneCore * | lc | ) |
Get the list of call logs (past calls).
[in] | lc | LinphoneCore object |
LinphoneCallLog* linphone_core_get_last_outgoing_call_log | ( | LinphoneCore * | lc | ) |
Get the latest outgoing call log.
[in] | lc | LinphoneCore object |
int linphone_core_get_missed_calls_count | ( | LinphoneCore * | lc | ) |
Get the number of missed calls. Once checked, this counter can be reset with linphone_core_reset_missed_calls_count().
[in] | lc | LinphoneCore object. |
void linphone_core_remove_call_log | ( | LinphoneCore * | lc, |
LinphoneCallLog * | call_log | ||
) |
Remove a specific call log from call history list. This function destroys the call log object. It must not be accessed anymore by the application after calling this function.
[in] | lc | LinphoneCore object |
[in] | call_log | LinphoneCallLog object to remove. |
void linphone_core_reset_missed_calls_count | ( | LinphoneCore * | lc | ) |
Reset the counter of missed calls.
[in] | lc | LinphoneCore object. |