summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-09-14 16:05:16 +0000
committerBenny Prijono <bennylp@teluu.com>2006-09-14 16:05:16 +0000
commitf5ee360b0b649ef24fe671b6e37006badce0634d (patch)
treed2545680870af31a9d7837ca9208b192e2ca8128
parent8aacc5197b7cd8e3f9acc1b518a549953b4371fe (diff)
Added account ID in pjsua_call_info.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@719 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h3
-rw-r--r--pjsip/src/pjsua-lib/pjsua_call.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 1fbcd2f3..1af7e98b 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -1437,6 +1437,9 @@ typedef struct pjsua_call_info
/** Initial call role (UAC == caller) */
pjsip_role_e role;
+ /** The account ID where this call belongs. */
+ pjsua_acc_id acc_id;
+
/** Local URI */
pj_str_t local_info;
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c
index f9989ee8..a7e0dd47 100644
--- a/pjsip/src/pjsua-lib/pjsua_call.c
+++ b/pjsip/src/pjsua-lib/pjsua_call.c
@@ -604,6 +604,7 @@ PJ_DEF(pj_status_t) pjsua_call_get_info( pjsua_call_id call_id,
/* id and role */
info->id = call_id;
info->role = call->inv->role;
+ info->acc_id = call->acc_id;
/* local info */
info->local_info.ptr = info->buf_.local_info;