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