Asterisk / Corosync Issue

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
  == Parsing '/etc/asterisk/res_corosync.conf': Found
 Loaded => (Corosync)
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups

; 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

So in looking at this further, it looks like that it’s a bug with Asterisk with the Corosync 2.X train. I’ll try to compile a 1.X version of corosync to see if that works.

so, further updates. It works with Corosync 1.3.7. I then tested upgrading to Asterisk 14.0.2, and using Corosync 2.3.4, and it works fine.

*CLI> corosync show members
=== Cluster members =========================================
=== Node 1
=== --> Group: asterisk
=== --> Address 1:
$ sudo yum info corosync
Installed Packages
Name        : corosync
Arch        : x86_64
Version     : 2.3.4