[asterisk-bugs] [JIRA] (ASTERISK-28082) allow the app to be specified on bridge creation when using ARI

Pascal Cadotte Michaud (JIRA) noreply at issues.asterisk.org
Fri Sep 28 07:36:54 CDT 2018


Pascal Cadotte Michaud created ASTERISK-28082:
-------------------------------------------------

             Summary: allow the app to be specified on bridge creation when using ARI
                 Key: ASTERISK-28082
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28082
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Resources/res_ari_bridges
    Affects Versions: 15.6.1
            Reporter: Pascal Cadotte Michaud
            Severity: Minor


I'm building a stasis application which uses an holding bridge to drop the calls to when the Stasis app is entered.

When my application restarts I would like to be able to GET /applications/{applicationName} to retrieve all my active bridges, including the holding bridge.

My problem is that if no calls have been received after creating my holding bridge then my application will not be subscribed to this bridge. The result of the GET will not show that bridge.

What I'd like to do is add a new optional argument "app" the POST on /bridges and POST /bridged/{bridgeId} that would allow me to have a consistent result on GET /applications/{applicationName} for the lifetime of my application.




--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list