summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-07-10 14:40:21 +0000
committerBenny Prijono <bennylp@teluu.com>2006-07-10 14:40:21 +0000
commit91a8d6213aac28b042683ddd185cac3ed0567655 (patch)
treee6c266cc51e8daced4fcde32f4aa3428e2e7c29a /pjsip/include
parent62fdf849ffac4d68091e7f42f51011fb6d415285 (diff)
Fixed bug in PJSUA API re: account selection and Contact header for accounts
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@597 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h2
-rw-r--r--pjsip/include/pjsua-lib/pjsua_internal.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 771268ab..f8a9aff1 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -1022,7 +1022,7 @@ typedef struct pjsua_acc_config
* that this field is left empty, so that the value will be calculated
* automatically based on the transport address.
*/
- pj_str_t contact;
+ pj_str_t force_contact;
/**
* Number of proxies in the proxy array below.
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h
index 004a41a0..a0f52189 100644
--- a/pjsip/include/pjsua-lib/pjsua_internal.h
+++ b/pjsip/include/pjsua-lib/pjsua_internal.h
@@ -80,9 +80,11 @@ typedef struct pjsua_acc
int index; /**< Index in accounts array. */
pj_str_t user_part; /**< User part of local URI. */
- pj_str_t host_part; /**< Host part of local URI. */
pj_str_t real_contact; /**< Real contact address. */
+ pj_str_t srv_domain; /**< Host part of reg server. */
+ 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. */