summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2014-10-10 10:33:23 +0000
committerNanang Izzuddin <nanang@teluu.com>2014-10-10 10:33:23 +0000
commitc8df8abb353e06c805369f52e376b51632cd8077 (patch)
treea9ac24c6ced248cab34206c6ec68bbbf3290ac45 /pjsip/include
parent21e715c8632cd2e3b77d1c46ee574249b05560b2 (diff)
Fixed #1796: Avoid infinite registration loop caused by contact rewrite.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4944 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h
index ff414ea8..2c60f597 100644
--- a/pjsip/include/pjsua-lib/pjsua_internal.h
+++ b/pjsip/include/pjsua-lib/pjsua_internal.h
@@ -219,6 +219,8 @@ typedef struct pjsua_acc
pj_str_t reg_contact; /**< Contact header for REGISTER.
It may be different than acc
contact if outbound is used */
+ pj_bool_t contact_rewritten;
+ /**< Contact rewrite has been done? */
pjsip_host_port via_addr; /**< Address for Via header */
pjsip_transport *via_tp; /**< Transport associated with
the Via address */