[asterisk-bugs] [JIRA] (ASTERISK-21971) POST to /stasis/bridges/?type=[bridgetype] fails silently

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Jun 27 18:21:03 CDT 2013


Matt Jordan created ASTERISK-21971:
--------------------------------------

             Summary: POST to /stasis/bridges/?type=[bridgetype] fails silently
                 Key: ASTERISK-21971
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21971
             Project: Asterisk
          Issue Type: Bug
          Components: Core/Stasis, Resources/res_stasis_http
    Affects Versions: 12
            Reporter: Matt Jordan


POSTing the URI {{/stasis/bridges/?type=holding}} will fail silently.

It appears the reason is because {{/stasis/}} matches a URI handler in {{main/http.c}} and calls the callback registered by stasis, but stasis doesn't actually handle the POST (because it doesn't actually match a valid URI) and fails silently.

Note that some libraries will, at this point, switch to a GET, which will return data, causing some very odd behavior - instead of making a new bridge you get a listing of all existing bridges.

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