Merge another change from team/russell/events ...
[asterisk-bristuff.git] / configs / osp.conf.sample
blobe3423373d4d6c92c5c33a99501f324918fd1baa6
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.
12 [general]
14 ; Enable cryptographic acceleration hardware.  
16 ;accelerate=no
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.
24 ;tokenformat=0
26 ;[default]
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)
47 ;privatekey=pkey.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)
61 ;cacert=cacert_0.pem
63 ; Configure parameters for OSP communication between Asterisk OSP client and OSP 
64 ; servers. 
66 ; maxconnections: Max number of simultaneous connections to the provider OSP 
67 ;                 server (default=20)
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)
72 ;maxconnections=20
73 ;retrydelay=0
74 ;retrylimit=2
75 ;timeout=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 
80 ;                 invalid token.  
81 ; 2 - EXCLUSIVE - Accept calls with valid token. Block calls with invalid token 
82 ;                 or no token.
83 ; Default is 1,
85 ;authpolicy=1
87 ; Set the default destination protocol. The OSP module supports SIP, H323, and 
88 ; IAX protocols.  The default protocol is set to SIP.
90 ;defaultprotocol=SIP