diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-10-31 13:28:08 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-10-31 13:28:08 +0000 |
commit | ef040a9c543b0b51e0f278ebb7a3e6a9588e9b83 (patch) | |
tree | 48055d526b8ebf7c313fe7a61cfd101c528e5e8c /pjsip/include/pjsua-lib/pjsua_internal.h | |
parent | c25863d18e273d92f61550f7dccf9a54c81dd9b8 (diff) |
Ticket #407: keep-alive for UDP transports in PJSUA-LIB
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1536 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua_internal.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index 004c1ca1..87d30b99 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -86,10 +86,14 @@ typedef struct pjsua_acc int srv_port; /**< Port number of reg server. */ pjsip_regc *regc; /**< Client registration session. */ - pj_timer_entry reg_timer; /**< Registration timer. */ pj_status_t reg_last_err; /**< Last registration error. */ int reg_last_code; /**< Last status last register. */ + pj_timer_entry ka_timer; /**< Keep-alive timer for UDP. */ + pjsip_transport *ka_transport; /**< Transport for keep-alive. */ + pj_sockaddr ka_target; /**< Destination address for K-A */ + unsigned ka_target_len; /**< Length of ka_target. */ + pjsip_route_hdr route_set; /**< Complete route set inc. outbnd.*/ unsigned cred_cnt; /**< Number of credentials. */ |