-
Notifications
You must be signed in to change notification settings - Fork 25
/
service.conf.sample
62 lines (50 loc) · 1.76 KB
/
service.conf.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
include "application" // note: include default settings
service {
stasis-app = "application-name"
name = "ari-proxy-for-some-application" // optional, default: ari-proxy
httpport = 9000 // optional, default: 8080
asterisk {
user = "asterisk" // optional, default: asterisk
password = "asterisk" // optional, default: asterisk
server = "localhost:8088"
}
kafka {
bootstrap-servers = "localhost:9092"
// Optionally set the SASL_SSL security protocol and provide user and password to enable kafka authentication
// security {
// protocol = "SASL_SSL"
// user = ""
// password = ""
// }
consumer-group = "ari-proxy" // optional, default: ari-proxy
commands-topic = "ari-commands-topic"
events-and-responses-topic = "ari-eventsandresponses-topic"
}
redis {
host = 127.0.0.1
port = 6379
db = 0
}
// persistence-store: optional, defaults to using the redis persistence store
// possible values: "io.retel.ariproxy.persistence.plugin.CassandraPersistenceStore", "io.retel.ariproxy.persistence.plugin.RedisPersistenceStore"
// use CassandraPersistenceStore and the datastax-driver config below, if you want to use cassandra as persistent backend
persistence-store = "io.retel.ariproxy.persistence.plugin.RedisPersistenceStore"
}
// for use with cassandra persistence store
//datastax-java-driver {
// basic {
// contact-points = [ "localhost:9042" ]
// session-keyspace = retel
// load-balancing-policy.local-datacenter = dc1
// }
// advanced.reconnection-policy {
// class = ExponentialReconnectionPolicy
// base-delay = 1 second
// max-delay = 60 seconds
// }
// advanced.auth-provider {
// class = PlainTextAuthProvider
// username = cassandra
// password = cassandra
// }
//}