On Thu, Feb 6, 2014 at 11:13 AM, David M. Lee <dlee@xxxxxxxxxx> wrote: > > On Feb 5, 2014, at 5:22 PM, Matthew Jordan <mjordan@xxxxxxxxxx> wrote: > > BridgeCreated event never gets fired as you have to subscribe to bridge > events before you receive them. Well, as you can't subscribe to something > before creating it, this will never be called. Should an application > automatically be subscribed to any bridges it created? > > > That's an interesting point. > > Currently, the response to the POST /bridges returns the Bridge data > model that you created. I'm not sure the BridgeCreated event adds much > value, even if we did emit it. > > > Agreed. Sending an event in addition to the response is redundant. > The issue I see with that approach, is now you have to add logic to publish return results from POST to the event system, if you want to consume them some place else. Which, I don't think exists today witnin ARI. -- Paul Belanger | PolyBeacon, Inc. Jabber: paul.belanger@xxxxxxxxxxxxxx | IRC: pabelanger (Freenode) Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger _______________________________________________ asterisk-app-dev mailing list asterisk-app-dev@xxxxxxxxxxxxxxxx http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev