summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2010-09-28 10:48:48 +0000
committerNanang Izzuddin <nanang@teluu.com>2010-09-28 10:48:48 +0000
commit513fb792c867d3791fbd258151ab32c66c6c6249 (patch)
tree82fdaa6ac24901b5d2b695a6c05fd254a094d7ff /pjsip/include/pjsua-lib
parent042fb984d0a90fb0ab119f95ae8b275fb588a474 (diff)
Close #1137: added field reg_hdr_list into pjsua_acc_config to specify custom headers for REGISTER requests of the account.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3326 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 10e1b0fe..dc013c0e 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -2078,6 +2078,12 @@ typedef struct pjsua_acc_config
*/
pj_str_t reg_uri;
+ /**
+ * The optional custom SIP headers to be put in the registration
+ * request.
+ */
+ pjsip_hdr reg_hdr_list;
+
/**
* Subscribe to message waiting indication events (RFC 3842).
*