mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
res_pjsip: convert configuration settings names to snake case
Renamed, where appropriate, the configuration options for chan/res_pjsip to use snake case (compound words separated by an underscore). For example, faxdetect will become fax_detect, recordofffeature will become record_off_feature, etc... Review: https://reviewboard.asterisk.org/r/3002/ ........ Merged revisions 403022 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -63,14 +63,14 @@
|
||||
defined as a list of comma-delimited section names.
|
||||
</para></description>
|
||||
</configOption>
|
||||
<configOption name="contactacl">
|
||||
<configOption name="contact_acl">
|
||||
<synopsis>List of Contact ACL section names in acl.conf</synopsis>
|
||||
<description><para>
|
||||
This matches sections configured in <literal>acl.conf</literal>. The value is
|
||||
defined as a list of comma-delimited section names.
|
||||
</para></description>
|
||||
</configOption>
|
||||
<configOption name="contactdeny">
|
||||
<configOption name="contact_deny">
|
||||
<synopsis>List of Contact header addresses to deny</synopsis>
|
||||
<description><para>
|
||||
The value is a comma-delimited list of IP addresses. IP addresses may
|
||||
@@ -79,7 +79,7 @@
|
||||
mask with a slash ('/')
|
||||
</para></description>
|
||||
</configOption>
|
||||
<configOption name="contactpermit">
|
||||
<configOption name="contact_permit">
|
||||
<synopsis>List of Contact header addresses to permit</synopsis>
|
||||
<description><para>
|
||||
The value is a comma-delimited list of IP addresses. IP addresses may
|
||||
@@ -281,9 +281,9 @@ static int load_module(void)
|
||||
ast_sorcery_object_field_register_custom(ast_sip_get_sorcery(), SIP_SORCERY_ACL_TYPE, "permit", "", acl_handler, NULL, 0, 0);
|
||||
ast_sorcery_object_field_register_custom(ast_sip_get_sorcery(), SIP_SORCERY_ACL_TYPE, "deny", "", acl_handler, NULL, 0, 0);
|
||||
ast_sorcery_object_field_register_custom(ast_sip_get_sorcery(), SIP_SORCERY_ACL_TYPE, "acl", "", acl_handler, NULL, 0, 0);
|
||||
ast_sorcery_object_field_register_custom(ast_sip_get_sorcery(), SIP_SORCERY_ACL_TYPE, "contactpermit", "", acl_handler, NULL, 0, 0);
|
||||
ast_sorcery_object_field_register_custom(ast_sip_get_sorcery(), SIP_SORCERY_ACL_TYPE, "contactdeny", "", acl_handler, NULL, 0, 0);
|
||||
ast_sorcery_object_field_register_custom(ast_sip_get_sorcery(), SIP_SORCERY_ACL_TYPE, "contactacl", "", acl_handler, NULL, 0, 0);
|
||||
ast_sorcery_object_field_register_custom(ast_sip_get_sorcery(), SIP_SORCERY_ACL_TYPE, "contact_permit", "", acl_handler, NULL, 0, 0);
|
||||
ast_sorcery_object_field_register_custom(ast_sip_get_sorcery(), SIP_SORCERY_ACL_TYPE, "contact_deny", "", acl_handler, NULL, 0, 0);
|
||||
ast_sorcery_object_field_register_custom(ast_sip_get_sorcery(), SIP_SORCERY_ACL_TYPE, "contact_acl", "", acl_handler, NULL, 0, 0);
|
||||
|
||||
ast_sip_register_service(&acl_module);
|
||||
return AST_MODULE_LOAD_SUCCESS;
|
||||
|
Reference in New Issue
Block a user