From 329507fe20ae5dcbed3e7b494ce6fffeb9990af3 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Tue, 16 Aug 2016 14:36:10 -0600 Subject: 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 --- include/asterisk/res_pjsip.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/asterisk') diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h index 72a2ff351..002182b9a 100644 --- a/include/asterisk/res_pjsip.h +++ b/include/asterisk/res_pjsip.h @@ -751,6 +751,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; }; /*! -- cgit v1.2.3