summaryrefslogtreecommitdiff
path: root/configs/samples/res_corosync.conf.sample
blob: 9a72c1ccd2ba8c32f587fbf0f1b8c2a8bcc7a6e0 (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
;
; Sample configuration file for res_corosync.
;
; This module allows events to be shared amongst a local cluster of
; Asterisk servers.  Specifically, the types of events that may be
; shared include:
;
;   - Device State (for shared presence information)
;
;   - Message Waiting Indication, or MWI (to allow Voicemail to live on
;     a server that is different from where the phones are registered)
;
; For more information about Corosync, see: http://www.corosync.org/
;

[general]

;
;  Publish Message Waiting Indication (MWI) events from this server to the
;  cluster.
;publish_event = mwi
;
;  Subscribe to MWI events from the cluster.
;subscribe_event = mwi
;
;  Publish Device State (presence) events from this server to the cluster.
;publish_event = device_state
;
;  Subscribe to Device State (presence) events from the cluster.
;subscribe_event = device_state
;