[asterisk-bugs] [JIRA] (ASTERISK-22116) Bridge API Enhancements: Add the ability to selectively remove bridge feature hooks

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Jul 18 19:34:03 CDT 2013


Matt Jordan created ASTERISK-22116:
--------------------------------------

             Summary: Bridge API Enhancements: Add the ability to selectively remove bridge feature hooks
                 Key: ASTERISK-22116
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22116
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/Bridging
    Affects Versions: 12
            Reporter: Matt Jordan


Right now, we don't have the ability to choose which feature hook gets removed easily.

There should be an API call in the Bridging Framework that lets an external user of the framework request that a specific bridging hook be removed.

{noformat}
/* BUGBUG Need to be able to selectively remove DTMF, hangup, and interval hooks. */
/*! \brief Structure that is the essence of a feature hook. */
struct ast_bridge_hook {
	/*! Linked list information */
	AST_LIST_ENTRY(ast_bridge_hook) entry;
	/*! Callback that is called when hook is tripped */
	ast_bridge_hook_callback callback;
	/*! Callback to destroy hook_pvt data right before destruction. */
	ast_bridge_hook_pvt_destructor destructor;
	/*! Unique data that was passed into us */
	void *hook_pvt;
	/*! Flags determining when hooks should be removed from a bridge channel */
	struct ast_flags remove_flags;
	/*! Extra hook parameters. */
	union {
		/*! Extra parameters for a DTMF feature hook. */
		struct ast_bridge_hook_dtmf dtmf;
		/*! Extra parameters for an interval timer hook. */
		struct ast_bridge_hook_timer timer;
	} parms;
};
{noformat}


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