[asterisk-bugs] [JIRA] (ASTERISK-21476) Stasis Core - Refactor extraneous channel events

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Apr 17 09:28:01 CDT 2013


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

Matt Jordan updated ASTERISK-21476:
-----------------------------------

    Description: 
This task is to refactor AMI events in a variety of channel drivers. In general, these should be channel snapshots accompanied by JSON where appropriate.

* {{chan_agent}}:
** Agentlogin/Agentlogoff - refactor and rename to AgentLogin/AgentLogoff.
* {{chan_local}}:
** LocalBridge. This must occur after the {{NewChannel}} events for the two Local channel halves (which should implicitly occur once this has been refactored). The LocalBridge does not reference a bridge object currently; as such it should be a multi-channel message with a JSON blob. Thought needs to be given which topic this is sent to - either ';1' or ';2', but probably not both (as I suspect that will send it to the all channels topic twice)
* {{chan_gtalk}}:
** ChannelUpdate
* {{sig_analog}}
** AlarmClear/DNDState
* {{sip_pri}}
** MCID - this will have to be carefully refactored, as it can both have a channel present as well as have no channels.
* {{chan_dahdi}} - all events
* {{chan_iax2}}
** JitterBufStats. It would be better if this could be conveyed by the jitter buffer code itself; however, that would be difficult to do and not spam AMI. It feels like this event could be removed and we wouldn't cause a lot of people heartburn.
* {{chan_sip}}
** SIPqualifypeerdone. Uppercase where appropriate (SIPQualifyPeerDone)
** Transfer - remove. This needs to be added to the bridging core.
** SessionTimeout - refactor to a JSON blob with a channel handle
** ChannelReload. Remove - this should be covered by the {{loader.c}} reload event.


  was:
This task is to refactor AMI events in a variety of channel drivers. In general, these should be channel snapshots accompanied by JSON where appropriate.

* {{chan_agent}}:
** Agentlogin/Agentlogoff - refactor and rename to AgentLogin/AgentLogoff.
* {{chan_local}}:
** LocalBridge. This must occur after the {{NewChannel}} events for the two Local channel halves (which should implicitly occur once this has been refactored). The LocalBridge does not reference a bridge object currently; as such it should be a multi-channel message with a JSON blob. Thought needs to be given which topic this is sent to - either ';1' or ';2', but probably not both (as I suspect that will send it to the all channels topic twice)
* {{chan_gtalk}}:
** ChannelUpdate
* {{sig_analog}}
** AlarmClear
* {{sip_pri}}
** MCID - this will have to be carefully refactored, as it can both have a channel present as well as have no channels.
* {{chan_dahdi}} - all events

    
> Stasis Core - Refactor extraneous channel events
> ------------------------------------------------
>
>                 Key: ASTERISK-21476
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21476
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Core/ManagerInterface, Core/Stasis
>            Reporter: Matt Jordan
>              Labels: Asterisk12
>
> This task is to refactor AMI events in a variety of channel drivers. In general, these should be channel snapshots accompanied by JSON where appropriate.
> * {{chan_agent}}:
> ** Agentlogin/Agentlogoff - refactor and rename to AgentLogin/AgentLogoff.
> * {{chan_local}}:
> ** LocalBridge. This must occur after the {{NewChannel}} events for the two Local channel halves (which should implicitly occur once this has been refactored). The LocalBridge does not reference a bridge object currently; as such it should be a multi-channel message with a JSON blob. Thought needs to be given which topic this is sent to - either ';1' or ';2', but probably not both (as I suspect that will send it to the all channels topic twice)
> * {{chan_gtalk}}:
> ** ChannelUpdate
> * {{sig_analog}}
> ** AlarmClear/DNDState
> * {{sip_pri}}
> ** MCID - this will have to be carefully refactored, as it can both have a channel present as well as have no channels.
> * {{chan_dahdi}} - all events
> * {{chan_iax2}}
> ** JitterBufStats. It would be better if this could be conveyed by the jitter buffer code itself; however, that would be difficult to do and not spam AMI. It feels like this event could be removed and we wouldn't cause a lot of people heartburn.
> * {{chan_sip}}
> ** SIPqualifypeerdone. Uppercase where appropriate (SIPQualifyPeerDone)
> ** Transfer - remove. This needs to be added to the bridging core.
> ** SessionTimeout - refactor to a JSON blob with a channel handle
> ** ChannelReload. Remove - this should be covered by the {{loader.c}} reload event.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list