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
This commit is contained in:
George Joseph
2016-08-16 14:36:10 -06:00
parent 56e0aed177
commit 329507fe20
6 changed files with 85 additions and 0 deletions

View File

@@ -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;
};
/*!