2 ; Open Settlement Protocol Sample Configuration File
4 ; This file contains configuration of OSP server providers that are used by the
5 ; Asterisk OSP module. The section "general" is reserved for global options.
6 ; All other sections describe specific OSP Providers. The provider "default"
7 ; is used when no provider is otherwise specified.
9 ; The "servicepoint" and "source" parameters must be configured. For most
10 ; implementations the other parameters in this file can be left unchanged.
14 ; Enable cryptographic acceleration hardware.
18 ; Defines the status of tokens that Asterisk will validate.
19 ; 0 - signed tokens only
20 ; 1 - unsigned tokens only
21 ; 2 - both signed and unsigned
22 ; The default value is 0, i.e. the Asterisk will only validate signed tokens.
28 ; List all service points (OSP servers) for this provider.
29 ; Use either domain name or IP address. Most OSP servers use port 1080.
31 ;servicepoint=http://osptestserver.transnexus.com:1080/osp
33 ; Define the "source" device for requesting OSP authorization.
34 ; This value is usually the domain name or IP address of the the Asterisk server.
36 ;source=domain name or [IP address in brackets]
38 ; Define path and file name of crypto files.
39 ; The default path for crypto file is /var/lib/asterisk/keys. If no path is
40 ; defined, crypto files will in /var/lib/asterisk/keys directory.
42 ; Specify the private key file name.
43 ; If this parameter is unspecified or not present, the default name will be the
44 ; osp.conf section name followed by "-privatekey.pem" (for example:
45 ; default-privatekey.pem)
49 ; Specify the local certificate file.
50 ; If this parameter is unspecified or not present, the default name will be the
51 ; osp.conf section name followed by "- localcert.pem " (for example:
52 ; default-localcert.pem)
54 ;localcert=localcert.pem
56 ; Specify one or more Certificate Authority key file names. If none are listed,
57 ; a single Certificate Authority key file name is added with the default name of
58 ; the osp.conf section name followed by "-cacert_0.pem " (for example:
59 ; default-cacert_0.pem)
63 ; Configure parameters for OSP communication between Asterisk OSP client and OSP
66 ; maxconnections: Max number of simultaneous connections to the provider OSP
68 ; retrydelay: Extra delay between retries (default=0)
69 ; retrylimit: Max number of retries before giving up (default=2)
70 ; timeout: Timeout for response in milliseconds (default=500)
77 ; Set the authentication policy.
78 ; 0 - NO - Accept all calls.
79 ; 1 - YES - Accept calls with valid token or no token. Block calls with
81 ; 2 - EXCLUSIVE - Accept calls with valid token. Block calls with invalid token
87 ; Set the default destination protocol. The OSP module supports SIP, H323, and
88 ; IAX protocols. The default protocol is set to SIP.