aboutsummaryrefslogtreecommitdiffstats
path: root/configs/osp.conf.sample
blob: 6e5bf2f40866b522b247b2b3a46beb916973bd94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
;
; 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 acceleration be enabled?  May not be changed
; on a reload.
;
;accelerate=yes
;
; Defines the token format that Asterisk can validate. 
; 0 - signed tokens only 
; 1 - unsigned tokens only 
; 2 - both signed and unsigned
; The defaults to 0, i.e. the Asterisk can validate signed tokens only.
;
;tokenformat=0

;[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