[asterisk-bugs] [JIRA] (ASTERISK-21270) Bridge API Enhancements - add subclassing ability to ast_bridge

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Mar 15 09:21:01 CDT 2013


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

Matt Jordan updated ASTERISK-21270:
-----------------------------------

    Status: Open  (was: Triage)
    
> Bridge API Enhancements - add subclassing ability to ast_bridge
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-21270
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21270
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>    Affects Versions: 12
>            Reporter: Matt Jordan
>      Target Release: 12
>
>
> Currently, bridge mixing technologies have the ability to be subclassed. However, the bridges themselves cannot - thus, while ConfBridge uses the softmix bridge mixing technology, it cannot override behavior that occurs when a channel joins, leaves, etc.
> Ideally, applications would be able to provide their own concrete implementations of {{ast_bridge}} such that they can override (if they choose) the behavior of a channel joining, departing, imparting, etc. They would still need to call the base class implementations (as {{ast_bridge}} will always be doing critical things with the channel), but they should be able to provide their own behavior when needed.
> Note that this is similar to the API extension points, except that it's a bit more permissive in what is made available to applications. The intent here is that something like ConfBridge would be able to provide it's own bridge; a completely separate external application would be able to register observers that would be notified when something changes in ConfBridge's bridge (but would not necessarily change how that action took place).
> At the end of this task, we should have:
> * A virtual method table that let's applications implement their own callbacks for common operations
> * A private data pointer for bridges separate from the mixing technology data pointer

--
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