diff options
Diffstat (limited to 'pjsip')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua_internal.h | 9 | ||||
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_call.c | 6 |
2 files changed, 12 insertions, 3 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index de6be5d3..a83e506a 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -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 diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index 935eaf51..c5d27342 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -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) { |