From 91a8d6213aac28b042683ddd185cac3ed0567655 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 10 Jul 2006 14:40:21 +0000 Subject: 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 --- pjsip/include/pjsua-lib/pjsua.h | 2 +- pjsip/include/pjsua-lib/pjsua_internal.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'pjsip/include') 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. */ -- cgit v1.2.3