summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2016-08-16 14:36:10 -0600
committerGeorge Joseph <gjoseph@digium.com>2016-08-17 16:21:19 -0500
commit534063fd670640019327e7f37a4fd81db16372f1 (patch)
tree7b6d282770e727aaeafc36aeb1af6ac2abc2e780 /include/asterisk
parent57f4e4428a830c89436bf5025ca815a4e35776ac (diff)
res_pjsip: Add contact_user to endpoint
contact_user, when specified on an endpoint, will override the user portion of the Contact header on outgoing requests. Change-Id: Icd4ebfda2f2e44d3ac749d0b4066630e988407d4
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/res_pjsip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h
index cd6b33db4..4cede4391 100644
--- a/include/asterisk/res_pjsip.h
+++ b/include/asterisk/res_pjsip.h
@@ -755,6 +755,8 @@ struct ast_sip_endpoint {
struct ast_acl_list *contact_acl;
/*! The number of seconds into call to disable fax detection. (0 = disabled) */
unsigned int faxdetect_timeout;
+ /*! Override the user on the outgoing Contact header with this value. */
+ char *contact_user;
};
/*!