mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "res_pjsip: Add fax_detect_timeout endpoint option." into 13
This commit is contained in:
@@ -600,6 +600,14 @@
|
||||
detected.
|
||||
</para></description>
|
||||
</configOption>
|
||||
<configOption name="fax_detect_timeout">
|
||||
<synopsis>How long into a call before fax_detect is disabled for the call</synopsis>
|
||||
<description><para>
|
||||
The option determines how many seconds into a call before the
|
||||
fax_detect option is disabled for the call. Setting the value
|
||||
to zero disables the timeout.
|
||||
</para></description>
|
||||
</configOption>
|
||||
<configOption name="t38_udptl_nat" default="no">
|
||||
<synopsis>Whether NAT support is enabled on UDPTL sessions</synopsis>
|
||||
<description><para>
|
||||
|
@@ -1852,6 +1852,7 @@ int ast_res_pjsip_initialize_configuration(const struct ast_module_info *ast_mod
|
||||
ast_sorcery_object_field_register_custom(sip_sorcery, "endpoint", "t38_udptl_ec", "none", t38udptl_ec_handler, t38udptl_ec_to_str, NULL, 0, 0);
|
||||
ast_sorcery_object_field_register(sip_sorcery, "endpoint", "t38_udptl_maxdatagram", "0", OPT_UINT_T, 0, FLDSET(struct ast_sip_endpoint, media.t38.maxdatagram));
|
||||
ast_sorcery_object_field_register(sip_sorcery, "endpoint", "fax_detect", "no", OPT_BOOL_T, 1, FLDSET(struct ast_sip_endpoint, faxdetect));
|
||||
ast_sorcery_object_field_register(sip_sorcery, "endpoint", "fax_detect_timeout", "0", OPT_UINT_T, 0, FLDSET(struct ast_sip_endpoint, faxdetect_timeout));
|
||||
ast_sorcery_object_field_register(sip_sorcery, "endpoint", "t38_udptl_nat", "no", OPT_BOOL_T, 1, FLDSET(struct ast_sip_endpoint, media.t38.nat));
|
||||
ast_sorcery_object_field_register(sip_sorcery, "endpoint", "t38_udptl_ipv6", "no", OPT_BOOL_T, 1, FLDSET(struct ast_sip_endpoint, media.t38.ipv6));
|
||||
ast_sorcery_object_field_register(sip_sorcery, "endpoint", "tone_zone", "", OPT_STRINGFIELD_T, 0, STRFLDSET(struct ast_sip_endpoint, zone));
|
||||
|
Reference in New Issue
Block a user