summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib/pjsua_internal.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-11-16 03:07:46 +0000
committerBenny Prijono <bennylp@teluu.com>2010-11-16 03:07:46 +0000
commite27b2a2975a378643ff03e36176be3c378b9bc19 (patch)
treee7f95b0d411d78b71fe4e651ddb5ebf7bfbf2785 /pjsip/include/pjsua-lib/pjsua_internal.h
parent160111f12b0fe593ab26fd09a1b222a6f40a9caa (diff)
Implemented SIP outbound (closed #1020)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3366 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h')
-rw-r--r--pjsip/include/pjsua-lib/pjsua_internal.h11
1 files changed, 10 insertions, 1 deletions
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. */