From e27b2a2975a378643ff03e36176be3c378b9bc19 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 16 Nov 2010 03:07:46 +0000 Subject: Implemented SIP outbound (closed #1020) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3366 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsua-lib/pjsua_internal.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h') diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index 3126b889..dc91d231 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -114,7 +114,6 @@ struct pjsua_srv_pres int expires; /**< "expires" value in the request. */ }; - /** * Account */ @@ -128,6 +127,9 @@ typedef struct pjsua_acc pj_str_t display; /**< Display name, if any. */ pj_str_t user_part; /**< User part of local URI. */ pj_str_t contact; /**< Our Contact header. */ + pj_str_t reg_contact; /**< Contact header for REGISTER. + It may be different than acc + contact if outbound is used */ pj_str_t srv_domain; /**< Host part of reg server. */ int srv_port; /**< Port number of reg server. */ @@ -152,6 +154,13 @@ typedef struct pjsua_acc pj_uint32_t global_route_crc; /** CRC of global route setting. */ pj_uint32_t local_route_crc; /** CRC of account route setting.*/ + unsigned rfc5626_status;/**< SIP outbound status: + 0: not used + 1: requested + 2: acknowledged by servers */ + pj_str_t rfc5626_instprm;/**< SIP outbound instance param. */ + pj_str_t rfc5626_regprm;/**< SIP outbound reg param. */ + unsigned cred_cnt; /**< Number of credentials. */ pjsip_cred_info cred[PJSUA_ACC_MAX_PROXIES]; /**< Complete creds. */ -- cgit v1.2.3