mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add sample config file, implement verification
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
56
configs/osp.conf.sample
Executable file
56
configs/osp.conf.sample
Executable file
@@ -0,0 +1,56 @@
|
||||
;
|
||||
; Open Settlement Protocol Sample Configuration File
|
||||
;
|
||||
;
|
||||
; This file contains configuration of providers that
|
||||
; are used by the OSP subsystem of Asterisk. The section
|
||||
; "general" is reserved for global options. Each other
|
||||
; section declares an OSP Provider. The provider "default"
|
||||
; is used when no provider is otherwise specified.
|
||||
;
|
||||
[general]
|
||||
;
|
||||
; Should hardware accelleration be enabled? May not be changed
|
||||
; on a reload.
|
||||
;
|
||||
;accelerate=yes
|
||||
|
||||
;[default]
|
||||
;
|
||||
; All paths are presumed to be under /var/lib/asterisk/keys unless
|
||||
; the path begins with '/'
|
||||
;
|
||||
; Specify the private keyfile. If unspecified, defaults to the name
|
||||
; of the section followed by "-privatekey.pem" (e.g. default-privatekey.pem)
|
||||
;
|
||||
;privatekey=pkey.pem
|
||||
;
|
||||
; Specify the local certificate file. If unspecified, defaults to
|
||||
; the name of the section followed by "-localcert.pem"
|
||||
;
|
||||
;localcert=localcert.pem
|
||||
;
|
||||
; Specify one or more Certificate Authority keys. If none are listed,
|
||||
; a single one is added with the name "-cacert.pem"
|
||||
;
|
||||
;cacert=cacert_0.pem
|
||||
;
|
||||
; Specific parameters can be tuned as well:
|
||||
;
|
||||
; maxconnections: Max number of simultaneous connections to the provider (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
|
||||
;
|
||||
; List all service points for this provider
|
||||
;
|
||||
;servicepoint=http://osptestserver.transnexus.com:1080/osp
|
||||
;
|
||||
; Set the "source" for requesting authorization
|
||||
;
|
||||
;source=foo
|
Reference in New Issue
Block a user