[Home]

Summary:ASTERISK-29140: ARI: Can't get BridgeCreated events without subscribing to ALL events
Reporter:Joeran Vinzens (jvinzens)Labels:
Date Opened:2020-10-22 05:41:18Date Closed:
Priority:MinorRegression?
Status:Open/NewComponents:Resources/res_ari_bridges
Versions:16.14.0 18.0.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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.
Comments: