123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>Asterisk Project : Asterisk 13 Configuration_res_pjsip_acl</title>
- <link rel="stylesheet" href="styles/site.css" type="text/css" />
- <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
- </head>
- <body class="theme-default aui-theme-default">
- <div id="page">
- <div id="main" class="aui-page-panel">
- <div id="main-header">
- <div id="breadcrumb-section">
- <ol id="breadcrumbs">
- <li class="first">
- <span><a href="index.html">Asterisk Project</a></span>
- </li>
- <li>
- <span><a href="Asterisk-13-Command-Reference_29394274.html">Asterisk 13 Command Reference</a></span>
- </li>
- <li>
- <span><a href="Asterisk-13-Module-Configuration_29394289.html">Asterisk 13 Module Configuration</a></span>
- </li>
- </ol>
- </div>
- <h1 id="title-heading" class="pagetitle">
- <span id="title-text">
- Asterisk Project : Asterisk 13 Configuration_res_pjsip_acl
- </span>
- </h1>
- </div>
- <div id="content" class="view">
- <div class="page-metadata">
-
-
-
-
-
-
-
- Created by <span class='author'> wikibot</span> on Aug 08, 2014
- </div>
- <div id="main-content" class="wiki-content group">
- <h1 id="Asterisk13Configuration_res_pjsip_acl-SIPACLmodule">SIP ACL module</h1>
- <p>This configuration documentation is for functionality provided by <code>res_pjsip_acl</code>.</p>
- <h2 id="Asterisk13Configuration_res_pjsip_acl-Overview">Overview</h2>
- <p><strong>ACL</strong></p>
- <p>The ACL module used by <code>res_pjsip</code>. This module is independent of <code>endpoints</code> and operates on all inbound SIP communication using res_pjsip.</p>
- <p>There are two main ways of defining your ACL with the options provided. You can use the <code>permit</code> and <code>deny</code> options which act on <strong>IP</strong> addresses, or the <code>contactpermit</code> and <code>contactdeny</code> options which act on <strong>Contact header</strong> addresses in incoming REGISTER requests. You can combine the various options to create a mixed ACL.</p>
- <p>Additionally, instead of defining an ACL with options, you can reference IP or Contact header ACLs from the file <code>acl.conf</code> by using the <code>acl</code> or <code>contactacl</code> options.</p>
- <h2 id="Asterisk13Configuration_res_pjsip_acl-pjsip.conf">pjsip.conf</h2>
- <h3 id="Asterisk13Configuration_res_pjsip_acl-acl">acl</h3>
- <p>Access Control List</p>
- <h4 id="Asterisk13Configuration_res_pjsip_acl-ConfigurationOptionReference">Configuration Option Reference</h4>
- <div class="table-wrap"><table class="confluenceTable"><tbody>
- <tr>
- <th class="confluenceTh"><p> Option Name </p></th>
- <th class="confluenceTh"><p> Type </p></th>
- <th class="confluenceTh"><p> Default Value </p></th>
- <th class="confluenceTh"><p> Regular Expression </p></th>
- <th class="confluenceTh"><p> Description </p></th>
- </tr>
- <tr>
- <td class="confluenceTd"><p> <a href="Asterisk-13-Configuration_res_pjsip_acl_29394920.html"><code>acl</code></a> </p></td>
- <td class="confluenceTd"><p> <code>Custom</code> </p></td>
- <td class="confluenceTd"><p> </p></td>
- <td class="confluenceTd"><p> <code>false</code> </p></td>
- <td class="confluenceTd"><p> List of IP ACL section names in acl.conf </p></td>
- </tr>
- <tr>
- <td class="confluenceTd"><p> <a href="Asterisk-13-Configuration_res_pjsip_acl_29394920.html"><code>contact_acl</code></a> </p></td>
- <td class="confluenceTd"><p> <code>Custom</code> </p></td>
- <td class="confluenceTd"><p> </p></td>
- <td class="confluenceTd"><p> <code>false</code> </p></td>
- <td class="confluenceTd"><p> List of Contact ACL section names in acl.conf </p></td>
- </tr>
- <tr>
- <td class="confluenceTd"><p> <a href="Asterisk-13-Configuration_res_pjsip_acl_29394920.html"><code>contact_deny</code></a> </p></td>
- <td class="confluenceTd"><p> <code>Custom</code> </p></td>
- <td class="confluenceTd"><p> </p></td>
- <td class="confluenceTd"><p> <code>false</code> </p></td>
- <td class="confluenceTd"><p> List of Contact header addresses to deny </p></td>
- </tr>
- <tr>
- <td class="confluenceTd"><p> <a href="Asterisk-13-Configuration_res_pjsip_acl_29394920.html"><code>contact_permit</code></a> </p></td>
- <td class="confluenceTd"><p> <code>Custom</code> </p></td>
- <td class="confluenceTd"><p> </p></td>
- <td class="confluenceTd"><p> <code>false</code> </p></td>
- <td class="confluenceTd"><p> List of Contact header addresses to permit </p></td>
- </tr>
- <tr>
- <td class="confluenceTd"><p> <a href="Asterisk-13-Configuration_res_pjsip_acl_29394920.html"><code>deny</code></a> </p></td>
- <td class="confluenceTd"><p> <code>Custom</code> </p></td>
- <td class="confluenceTd"><p> </p></td>
- <td class="confluenceTd"><p> <code>false</code> </p></td>
- <td class="confluenceTd"><p> List of IP addresses to deny access from </p></td>
- </tr>
- <tr>
- <td class="confluenceTd"><p> <a href="Asterisk-13-Configuration_res_pjsip_acl_29394920.html"><code>permit</code></a> </p></td>
- <td class="confluenceTd"><p> <code>Custom</code> </p></td>
- <td class="confluenceTd"><p> </p></td>
- <td class="confluenceTd"><p> <code>false</code> </p></td>
- <td class="confluenceTd"><p> List of IP addresses to permit access from </p></td>
- </tr>
- <tr>
- <td class="confluenceTd"><p> <code>type</code> </p></td>
- <td class="confluenceTd"><p> <code>None</code> </p></td>
- <td class="confluenceTd"><p> </p></td>
- <td class="confluenceTd"><p> <code>false</code> </p></td>
- <td class="confluenceTd"><p> Must be of type 'acl'. </p></td>
- </tr>
- </tbody></table></div>
- <h4 id="Asterisk13Configuration_res_pjsip_acl-ConfigurationOptionDescriptions">Configuration Option Descriptions</h4>
- <p><span class="confluence-anchor-link" id="Asterisk13Configuration_res_pjsip_acl-acl_acl"></span></p>
- <h5 id="Asterisk13Configuration_res_pjsip_acl-acl.1">acl</h5>
- <p>This matches sections configured in <code>acl.conf</code>. The value is defined as a list of comma-delimited section names.</p>
- <p><span class="confluence-anchor-link" id="Asterisk13Configuration_res_pjsip_acl-acl_contact_acl"></span></p>
- <h5 id="Asterisk13Configuration_res_pjsip_acl-contact_acl">contact_acl</h5>
- <p>This matches sections configured in <code>acl.conf</code>. The value is defined as a list of comma-delimited section names.</p>
- <p><span class="confluence-anchor-link" id="Asterisk13Configuration_res_pjsip_acl-acl_contact_deny"></span></p>
- <h5 id="Asterisk13Configuration_res_pjsip_acl-contact_deny">contact_deny</h5>
- <p>The value is a comma-delimited list of IP addresses. IP addresses may have a subnet mask appended. The subnet mask may be written in either CIDR or dotted-decimal notation. Separate the IP address and subnet mask with a slash ('/')</p>
- <p><span class="confluence-anchor-link" id="Asterisk13Configuration_res_pjsip_acl-acl_contact_permit"></span></p>
- <h5 id="Asterisk13Configuration_res_pjsip_acl-contact_permit">contact_permit</h5>
- <p>The value is a comma-delimited list of IP addresses. IP addresses may have a subnet mask appended. The subnet mask may be written in either CIDR or dotted-decimal notation. Separate the IP address and subnet mask with a slash ('/')</p>
- <p><span class="confluence-anchor-link" id="Asterisk13Configuration_res_pjsip_acl-acl_deny"></span></p>
- <h5 id="Asterisk13Configuration_res_pjsip_acl-deny">deny</h5>
- <p>The value is a comma-delimited list of IP addresses. IP addresses may have a subnet mask appended. The subnet mask may be written in either CIDR or dotted-decimal notation. Separate the IP address and subnet mask with a slash ('/')</p>
- <p><span class="confluence-anchor-link" id="Asterisk13Configuration_res_pjsip_acl-acl_permit"></span></p>
- <h5 id="Asterisk13Configuration_res_pjsip_acl-permit">permit</h5>
- <p>The value is a comma-delimited list of IP addresses. IP addresses may have a subnet mask appended. The subnet mask may be written in either CIDR or dotted-decimal notation. Separate the IP address and subnet mask with a slash ('/')</p>
- <h3 id="Asterisk13Configuration_res_pjsip_acl-ImportVersion">Import Version</h3>
- <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
- </div>
-
-
- </div> </div>
- <div id="footer">
- <section class="footer-body">
- <p>Document generated by Confluence on Aug 11, 2014 13:49</p>
- </section>
- </div>
- </div> </body>
- </html>
|