diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-04-09 16:46:05 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-04-09 16:46:05 +0000 |
commit | 7c33ce56e9b9399e0f437553102d9a4d612502f7 (patch) | |
tree | e783ecf01cb824448a6d9fbf8dc0bef7eee53f78 /pjsip/include | |
parent | 3cbe17249a51ff90ecb1eac049d2d655229bb6c9 (diff) |
Added call duration in pjsua
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@398 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index d5f447ae..dc179cb3 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -92,6 +92,10 @@ struct pjsua_call { unsigned index; /**< Index in pjsua array. */ pjsip_inv_session *inv; /**< The invite session. */ + pj_time_val start_time;/**< First INVITE sent/received. */ + pj_time_val res_time; /**< First response sent/received. */ + pj_time_val conn_time; /**< Connected/confirmed time. */ + pj_time_val dis_time; /**< Disconnect time. */ int acc_index; /**< Account index being used. */ pjmedia_session *session; /**< The media session. */ unsigned conf_slot; /**< Slot # in conference bridge. */ |