Merge "res_pjsip: Add 'ip' as a valid option to 'identify_by' on endpoint."

This commit is contained in:
Joshua Colp
2017-10-26 18:45:40 -05:00
committed by Gerrit Code Review
7 changed files with 93 additions and 14 deletions

View File

@@ -437,6 +437,8 @@ enum ast_sip_endpoint_identifier_type {
AST_SIP_ENDPOINT_IDENTIFY_BY_USERNAME = (1 << 0),
/*! Identify based on user name in Auth header first, then From header */
AST_SIP_ENDPOINT_IDENTIFY_BY_AUTH_USERNAME = (1 << 1),
/*! Identify based on source IP address */
AST_SIP_ENDPOINT_IDENTIFY_BY_IP = (1 << 2),
};
AST_VECTOR(ast_sip_identify_by_vector, enum ast_sip_endpoint_identifier_type);