summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-12-10 16:54:16 +0000
committerBenny Prijono <bennylp@teluu.com>2008-12-10 16:54:16 +0000
commiteb5756d2c401568e24c448776cc1a914b57b80b0 (patch)
tree227210f2e0d329cf7c785b2f7934e05b05f36912 /pjsip/include
parent51ea10ee4adb41c3e8ddcfdee5fb165faffa432e (diff)
Ticket #672: Option to add custom parameters in the account Contact URI
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2373 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 74cbffec..c8073e70 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -2131,6 +2131,18 @@ typedef struct pjsua_acc_config
pj_str_t force_contact;
/**
+ * Additional URI parameters that will be appended in the Contact header
+ * for this account. This will affect the Contact header in all SIP
+ * messages sent on behalf of this account, including but not limited to
+ * REGISTER, INVITE, and SUBCRIBE requests or responses.
+ *
+ * The parameters should be preceeded by semicolon, and all strings must
+ * be properly escaped. Example:
+ * ";my-param=X;another-param=Hi%20there"
+ */
+ pj_str_t contact_params;
+
+ /**
* Specify whether support for reliable provisional response (100rel and
* PRACK) should be required for all sessions of this account.
*