Exported some private pjsua_call.c functions related to call quality statistics
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1452 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
91a5a3af26
commit
627cbb45a1
2 changed files with 12 additions and 3 deletions
|
@ -426,6 +426,15 @@ void pjsua_init_tpselector(pjsua_transport_id tp_id,
|
|||
pjsip_tpselector *sel);
|
||||
|
||||
|
||||
pj_status_t acquire_call(const char *title,
|
||||
pjsua_call_id call_id,
|
||||
pjsua_call **p_call,
|
||||
pjsip_dialog **p_dlg);
|
||||
const char *good_number(char *buf, pj_int32_t val);
|
||||
void print_call(const char *title,
|
||||
int call_id,
|
||||
char *buf, pj_size_t size);
|
||||
|
||||
|
||||
PJ_END_DECL
|
||||
|
||||
|
|
|
@ -778,7 +778,7 @@ PJ_DEF(pj_bool_t) pjsua_call_has_media(pjsua_call_id call_id)
|
|||
|
||||
|
||||
/* Acquire lock to the specified call_id */
|
||||
static pj_status_t acquire_call(const char *title,
|
||||
pj_status_t acquire_call(const char *title,
|
||||
pjsua_call_id call_id,
|
||||
pjsua_call **p_call,
|
||||
pjsip_dialog **p_dlg)
|
||||
|
@ -1603,7 +1603,7 @@ PJ_DEF(void) pjsua_call_hangup_all(void)
|
|||
}
|
||||
|
||||
|
||||
static const char *good_number(char *buf, pj_int32_t val)
|
||||
const char *good_number(char *buf, pj_int32_t val)
|
||||
{
|
||||
if (val < 1000) {
|
||||
pj_ansi_sprintf(buf, "%d", val);
|
||||
|
@ -1817,7 +1817,7 @@ static void dump_media_session(const char *indent,
|
|||
|
||||
|
||||
/* Print call info */
|
||||
static void print_call(const char *title,
|
||||
void print_call(const char *title,
|
||||
int call_id,
|
||||
char *buf, pj_size_t size)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue