(changelog debian)
[asterisk-config-auf.git] / etc-asterisk / osp.conf
CommitLineData
b2e905a6
TN
1;
2; Open Settlement Protocol Sample Configuration File
3;
4;
5; This file contains configuration of providers that
6; are used by the OSP subsystem of Asterisk. The section
7; "general" is reserved for global options. Each other
8; section declares an OSP Provider. The provider "default"
9; is used when no provider is otherwise specified.
10;
11[general]
12;
13; Should hardware acceleration be enabled? May not be changed
14; on a reload.
15;
16;accelerate=yes
17;
18; Defines the token format that Asterisk can validate.
19; 0 - signed tokens only
20; 1 - unsigned tokens only
21; 2 - both signed and unsigned
22; The defaults to 0, i.e. the Asterisk can validate signed tokens only.
23;
24;tokenformat=0
25
26;[default]
27;
28; All paths are presumed to be under /usr/share/asterisk/keys unless
29; the path begins with '/'
30;
31; Specify the private keyfile. If unspecified, defaults to the name
32; of the section followed by "-privatekey.pem" (e.g. default-privatekey.pem)
33;
34;privatekey=pkey.pem
35;
36; Specify the local certificate file. If unspecified, defaults to
37; the name of the section followed by "-localcert.pem"
38;
39;localcert=localcert.pem
40;
41; Specify one or more Certificate Authority keys. If none are listed,
42; a single one is added with the name "-cacert.pem"
43;
44;cacert=cacert_0.pem
45;
46; Specific parameters can be tuned as well:
47;
48; maxconnections: Max number of simultaneous connections to the provider (default=20)
49; retrydelay: Extra delay between retries (default=0)
50; retrylimit: Max number of retries before giving up (default=2)
51; timeout: Timeout for response in milliseconds (default=500)
52;
53;maxconnections=20
54;retrydelay=0
55;retrylimit=2
56;timeout=500
57;
58; List all service points for this provider
59;
60;servicepoint=http://osptestserver.transnexus.com:1080/osp
61;
62; Set the "source" for requesting authorization
63;
64;source=foo
65;
66; Set the authentication policy.
67; 0 - NO
68; 1 - YES
69; 2 - EXCLUSIVE
70; Default is 1, validate token but allow no token.
71;
72;authpolicy=1