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

David M. Lee (JIRA) noreply at issues.asterisk.org
Mon Jul 15 09:10:03 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David M. Lee closed ASTERISK-21971.
-----------------------------------

    Resolution: Fixed
    
> 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
>              Labels: Asterisk12
>
> 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