Merge "res_pjsip: Add fax_detect_timeout endpoint option."

This commit is contained in:
Joshua Colp
2016-07-21 18:25:47 -05:00
committed by Gerrit Code Review
9 changed files with 105 additions and 13 deletions

View File

@@ -753,6 +753,8 @@ struct ast_sip_endpoint {
struct ast_acl_list *acl;
/* Restrict what IPs are allowed in the Contact header (for registration) */
struct ast_acl_list *contact_acl;
/*! The number of seconds into call to disable fax detection. (0 = disabled) */
unsigned int faxdetect_timeout;
};
/*!

View File

@@ -139,7 +139,7 @@ struct ast_sip_session {
struct ast_party_id id;
/*! Requested capabilities */
struct ast_format_cap *req_caps;
/*! Optional DSP, used only for inband DTMF detection if configured */
/*! Optional DSP, used only for inband DTMF/Fax-CNG detection if configured */
struct ast_dsp *dsp;
/*! Whether the termination of the session should be deferred */
unsigned int defer_terminate:1;