<p>Joshua Colp <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/19925">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span></span><br></pre><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
George Joseph: Looks good to me, approved
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_osplookup: Remove obsolete sample config.<br><br>ASTERISK_30302 previously removed app_osplookup,<br>but its sample config was not removed.<br>This removes it since nothing else uses it.<br><br>ASTERISK-30438 #close<br><br>Change-Id: Ife234208f5f197644475db4ab1af95a8551642fd<br>---<br>D configs/samples/osp.conf.sample<br>1 file changed, 15 insertions(+), 117 deletions(-)<br><br></pre>
<pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/configs/samples/osp.conf.sample b/configs/samples/osp.conf.sample</span><br><span>deleted file mode 100644</span><br><span>index e72aa32..0000000</span><br><span>--- a/configs/samples/osp.conf.sample</span><br><span>+++ /dev/null</span><br><span>@@ -1,117 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Open Settlement Protocol Sample Configuration File</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; This file contains configuration of OSP server providers that are used by the</span><br><span style="color: hsl(0, 100%, 40%);">-; Asterisk OSP module. The section "general" is reserved for global options.</span><br><span style="color: hsl(0, 100%, 40%);">-; All other sections describe specific OSP Providers. The provider "default"</span><br><span style="color: hsl(0, 100%, 40%);">-; is used when no provider is otherwise specified.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; The "servicepoint" and "source" parameters must be configured. For most</span><br><span style="color: hsl(0, 100%, 40%);">-; implementations the other parameters in this file can be left unchanged.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-[general]</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Enable cryptographic acceleration hardware.</span><br><span style="color: hsl(0, 100%, 40%);">-; The default value is no.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;accelerate=no</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Enable security features.</span><br><span style="color: hsl(0, 100%, 40%);">-; If security features are disabled, Asterisk cannot validate signed tokens and</span><br><span style="color: hsl(0, 100%, 40%);">-; all certificate file name parameters are ignored.</span><br><span style="color: hsl(0, 100%, 40%);">-; The default value is no.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;securityfeatures=no</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Defines the status of tokens that Asterisk will validate.</span><br><span style="color: hsl(0, 100%, 40%);">-; 0 - signed tokens only</span><br><span style="color: hsl(0, 100%, 40%);">-; 1 - unsigned tokens only</span><br><span style="color: hsl(0, 100%, 40%);">-; 2 - both signed and unsigned</span><br><span style="color: hsl(0, 100%, 40%);">-; The default value is 0, i.e. the Asterisk will only validate signed tokens.</span><br><span style="color: hsl(0, 100%, 40%);">-; If securityfeatures are disabled, Asterisk cannot validate signed tokens.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;tokenformat=0</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;[default]</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; List all service points (OSP servers) for this provider.</span><br><span style="color: hsl(0, 100%, 40%);">-; Use either domain name or IP address. Most OSP servers use port 5045.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;servicepoint=http://osptestserver.transnexus.com:5045/osp</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Define the "source" device for requesting OSP authorization.</span><br><span style="color: hsl(0, 100%, 40%);">-; This value is usually the domain name or IP address of the the Asterisk server.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;source=domain name or [IP address in brackets]</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Define path and file name of crypto files.</span><br><span style="color: hsl(0, 100%, 40%);">-; The default path for crypto file is /var/lib/asterisk/keys. If no path is</span><br><span style="color: hsl(0, 100%, 40%);">-; defined, crypto files will in /var/lib/asterisk/keys directory.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Specify the private key file name.</span><br><span style="color: hsl(0, 100%, 40%);">-; If this parameter is unspecified or not present, the default name will be the</span><br><span style="color: hsl(0, 100%, 40%);">-; osp.conf section name followed by "-privatekey.pem" (for example:</span><br><span style="color: hsl(0, 100%, 40%);">-; default-privatekey.pem)</span><br><span style="color: hsl(0, 100%, 40%);">-; If securityfeatures are disabled, this parameter is ignored.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;privatekey=pkey.pem</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Specify the local certificate file.</span><br><span style="color: hsl(0, 100%, 40%);">-; If this parameter is unspecified or not present, the default name will be the</span><br><span style="color: hsl(0, 100%, 40%);">-; osp.conf section name followed by "- localcert.pem " (for example:</span><br><span style="color: hsl(0, 100%, 40%);">-; default-localcert.pem)</span><br><span style="color: hsl(0, 100%, 40%);">-; If securityfeatures are disabled, this parameter is ignored.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;localcert=localcert.pem</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Specify one or more Certificate Authority key file names. If none are listed,</span><br><span style="color: hsl(0, 100%, 40%);">-; a single Certificate Authority key file name is added with the default name of</span><br><span style="color: hsl(0, 100%, 40%);">-; the osp.conf section name followed by "-cacert_0.pem " (for example:</span><br><span style="color: hsl(0, 100%, 40%);">-; default-cacert_0.pem)</span><br><span style="color: hsl(0, 100%, 40%);">-; If securityfeatures are disabled, this parameter is ignored.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;cacert=cacert_0.pem</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Configure parameters for OSP communication between Asterisk OSP client and OSP</span><br><span style="color: hsl(0, 100%, 40%);">-; servers.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; maxconnections: Max number of simultaneous connections to the provider OSP</span><br><span style="color: hsl(0, 100%, 40%);">-; server (default=20)</span><br><span style="color: hsl(0, 100%, 40%);">-; retrydelay: Extra delay between retries (default=0)</span><br><span style="color: hsl(0, 100%, 40%);">-; retrylimit: Max number of retries before giving up (default=2)</span><br><span style="color: hsl(0, 100%, 40%);">-; timeout: Timeout for response in milliseconds (default=500)</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;maxconnections=20</span><br><span style="color: hsl(0, 100%, 40%);">-;retrydelay=0</span><br><span style="color: hsl(0, 100%, 40%);">-;retrylimit=2</span><br><span style="color: hsl(0, 100%, 40%);">-;timeout=500</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Set the authentication policy.</span><br><span style="color: hsl(0, 100%, 40%);">-; 0 - NO - Accept all calls.</span><br><span style="color: hsl(0, 100%, 40%);">-; 1 - YES - Accept calls with valid token or no token. Block calls with</span><br><span style="color: hsl(0, 100%, 40%);">-; invalid token.</span><br><span style="color: hsl(0, 100%, 40%);">-; 2 - EXCLUSIVE - Accept calls with valid token. Block calls with invalid token</span><br><span style="color: hsl(0, 100%, 40%);">-; or no token.</span><br><span style="color: hsl(0, 100%, 40%);">-; Default is 1,</span><br><span style="color: hsl(0, 100%, 40%);">-; If securityfeatures are disabled, Asterisk cannot validate signed tokens.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;authpolicy=1</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Set the default destination protocol. The OSP module supports SIP, H323, and</span><br><span style="color: hsl(0, 100%, 40%);">-; IAX protocols. The default protocol is set to SIP.</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;defaultprotocol=SIP</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Set the work mode.</span><br><span style="color: hsl(0, 100%, 40%);">-; 0 - Direct</span><br><span style="color: hsl(0, 100%, 40%);">-; 1 - Indirect</span><br><span style="color: hsl(0, 100%, 40%);">-; Default is 0,</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;workmode=0</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-; Set the service type.</span><br><span style="color: hsl(0, 100%, 40%);">-; 0 - Normal voice service</span><br><span style="color: hsl(0, 100%, 40%);">-; 1 - Ported number query service</span><br><span style="color: hsl(0, 100%, 40%);">-; Default is 0,</span><br><span style="color: hsl(0, 100%, 40%);">-;</span><br><span style="color: hsl(0, 100%, 40%);">-;servicetype=0</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/19925">change 19925</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/19925"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ife234208f5f197644475db4ab1af95a8551642fd </div>
<div style="display:none"> Gerrit-Change-Number: 19925 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>