[asterisk-bugs] [JIRA] (ASTERISK-29140) ARI: Can't get BridgeCreated events without subscribing to ALL events
Joshua C. Colp (JIRA)
noreply at issues.asterisk.org
Wed Dec 9 04:55:16 CST 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-29140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua C. Colp updated ASTERISK-29140:
--------------------------------------
Affects Version/s: (was: 17.8.0)
(was: 13.37.0)
> ARI: Can't get BridgeCreated events without subscribing to ALL events
> ---------------------------------------------------------------------
>
> Key: ASTERISK-29140
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29140
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_ari_bridges
> Affects Versions: 16.14.0, 18.0.0
> Reporter: Joeran Vinzens
> Severity: Minor
>
> Because you can't specify "app" when you create a bridge, there's no way for you to get a BridgeCreated event unless you subscribe to all events. On a busy system, this isn't a good idea. There are several solutions for this...
> * Allow specification of "app" when you create a bridge and automatically subscribe that app to all events for the bridge,
> * Allow subscription to objects that don't exist yet. For instance, if you subscribe to bridge "bidge1" and it doesn't already exist, Asterisk will save the request and when the bridge is created, automatically subscribe the app to it. When the app disconnects, any deferred subscriptions that haven't been converted to real subscriptions would be flushed.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list