I have a fresh install of Centos7, and installed corosync, corosynclib, and corosyncliv-devel version 2.3.4 (and the corosync service is configured and running). I compiled Asterisk version 13.10.0 (and also tried 13.11.2) with the res_corosync module. If I do not load the module on startup, asterisk works fine. The moment I load the res_corosync, Asterisk crashes. For testing I’m also running Asterisk as root, which is the same as corosync. Any ideas?
*CLI> module load res_corosync.so Loaded res_corosync.so == Parsing '/etc/asterisk/res_corosync.conf': Found Loaded res_corosync.so => (Corosync) Disconnected from Asterisk server Asterisk cleanly ending (0). Executing last minute cleanups
; Publish Message Waiting Indication (MWI) events from this server to the
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