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

Kinsey Moore (JIRA) noreply at issues.asterisk.org
Wed Jun 12 14:07:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207150#comment-207150 ] 

Kinsey Moore edited comment on ASTERISK-21476 at 6/12/13 2:05 PM:
------------------------------------------------------------------

Progress on this issue can be found here:
https://origsvn.digium.com/svn/asterisk/team/kmoore/channel_event_refactor

* {{chan_local}}:
** LocalBridge
* {{sig_analog}}
** AlarmClear/DNDState
* {{chan_dahdi}}
** DAHDIChannel
** AlarmClear
** SpanAlarmClear
** Alarm
** SpanAlarm
** DNDState

* {{sig_pri}}
** MCID - refactored
* {{chan_gtalk}}:
** ChannelUpdate - refactored
* {{chan_agent}}:
** Agentlogin/Agentlogoff - refactored
* {{chan_iax2}}
** JitterBufStats - removed
* {{chan_sip}}
** SIPqualifypeerdone - refactored
** Transfer - already removed
** SessionTimeout - refactored
** ChannelReload - removed

                
      was (Author: kmoore):
    Progress on this issue can be found here:
https://origsvn.digium.com/svn/asterisk/team/kmoore/channel_event_refactor

* {{chan_local}}:
** LocalBridge
* {{sig_analog}}
** AlarmClear/DNDState
* {{sig_pri}}
** MCID - refactored
* {{chan_dahdi}}
** DAHDIChannel
** AlarmClear
** SpanAlarmClear
** Alarm
** SpanAlarm
** DNDState

* {{chan_gtalk}}:
** ChannelUpdate - refactored
* {{chan_agent}}:
** Agentlogin/Agentlogoff - refactored
* {{chan_iax2}}
** JitterBufStats - removed
* {{chan_sip}}
** SIPqualifypeerdone - refactored
** Transfer - already removed
** SessionTimeout - refactored
** ChannelReload - removed

                  
> 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