-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.ini.sample
122 lines (83 loc) · 3.58 KB
/
config.ini.sample
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
;
; Configuration file for OpenXCAP
;
; The values in the commented lines represent the defaults built in the
; server software
;
[Server]
; IP address to listen for requests
; 0.0.0.0 means any address of this host
; address = 0.0.0.0
; This is a comma separated list of XCAP root URIs. The first is the
; primary XCAP root URI, while the others (if specified) are aliases.
; The primary root URI is used when generating xcap-diff
; If the scheme is https, then the server will listen for requests in TLS mode.
root = http://xcap.example.com/xcap-root
; The backend to be used for storage and authentication. Current supported
; values are Database and OpenSIPS. OpenSIPS backend inherits all the settings
; from the Database backend but performs extra actions related to the
; integration with OpenSIPS for which it read the settings from [OpenSIPS]
; section
backend = OpenSIPS
; Validate XCAP documents against XML schemas
; document_validation = Yes
; Allow URIs in pres-rules and resource-lists to point to lists not served
; by this server
allow_external_references = No
; List os applications that won't be enabled on the server
;disabled_applications = test-app, org.openxcap.dialog-rules
[Logging]
; Start, stop and major server error messages are always logged to syslog.
; This section can be used to log more details about XCAP clients accessing
; the server. The values in the commented lines represent the defaults built
; in the server software
; Directory where to write access.log file that will contain requests and/or
; responses to OpenXCAP server in Apache style. If set to an empty string,
; access logs will be printed to stdout if the server runs in no-fork mode
; or to syslog if the server runs in the background
; directory=/var/log/openxcap
; The following parameters control the logging of requests/responses based
; on the response code. The values must be a comma-separated list of HTTP
; response codes or one of the keywords 'all' or 'none' to match all or
; no response codes respectively. Default is none.
; log_request=none
; log_response=none
[Authentication]
; The HTTP authentication type, this can be either 'basic' or 'digest'. The
; standard states 'digest' as the mandatory, however it can be changed to
; basic
; type = digest
; Specify if the passwords are stored as plain text - Yes
; or in a hashed format MD5('username:domain:password') - No
; cleartext_passwords = Yes
; The default authentication realm, if none indicated in the HTTP request
; URI
default_realm = example.com
; A comma-separated list of hosts or networks to trust.
; The elements can be an IP address in CIDR format, a
; hostname or an IP address (in the latter 2 a mask of 32
; is assumed), or the special keywords 'any' and 'none'
; (being equivalent to 0.0.0.0/0 and 0.0.0.0/32
; respectively).
; trusted_peers =
[TLS]
; Location of X509 certificate and private key that identify this server.
; The path is relative to /etc/openxcap, or it can be given as an absolute
; path.
; Server X509 certificate
; certificate =
; Server X509 private key
; private_key =
[Database]
; The database connection URI for the datase with subscriber accounts
authentication_db_uri = mysql://opensips:opensipsrw@localhost/opensips
; The database connection URI for the database that stores the XCAP documents
storage_db_uri = mysql://opensips:opensipsrw@localhost/opensips
; Authentication and storage tables
; subscriber_table = subscriber
; xcap_table = xcap
[OpenSIPS]
; Publish xcap-diff event (using a SIP PUBLISH)
; publish_xcapdiff = yes
; SIP proxy where the PUBLISH will be sent
; outbound_sip_proxy = sip.example.com