[asterisk-bugs] [JIRA] (ASTERISK-22372) res_corosync: Compilation errors and functionality broken in Asterisk 12

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu May 22 06:54:43 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-22372.
----------------------------------

    Resolution: Fixed

> res_corosync: Compilation errors and functionality broken in Asterisk 12
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-22372
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22372
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_corosync
>    Affects Versions: 12
>            Reporter: Matt Jordan
>            Assignee: Matt Jordan
>
> In previous versions of Asterisk, {{res_corosync}} was tightly built on top of the event subsystem. This included both the act of subscribing, as well as the passing of events. Because the event subsystem passed binary packed messages, it was trivial to pass the raw events down to CoroSync.
> With the advent of the Stasis message bus, life got a bit harder for {{res_corosync}}.
> # Subscriptions have to be parsed a bit more carefully, as there is not a listing of allowed subscription topics in the same way as the event subsystem. A mapping of subscriptions to Stasis topics will be needed.
> # Event passing is pretty much broken. Message types that should be passed between Corosync nodes will need callbacks that translate the message type from the existing message type format to a binary blob that matches historical versions of Asterisk. Likewise, events received from Corosync have to be re-parsed out into JSON/structs.
> Because you would ostensibly want Asterisk 12 to talk with prior versions, the MWI and device state events - at the very least - should have binary compatibility with their counterparts.
> (On the plus side, what *can* you do with passing channel state between Asterisk instances I wonder?)



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list