Review Board 1.7.16


ari: Remove support for specifying channel vars during origination.

Review Request #3088 - Created Dec. 20, 2013 and submitted

David Lee
/branches/12
ASTERISK-23051
Reviewers
asterisk-dev
mjordan
Asterisk
When we added support for specifying channel variables for an
origination, we didn't consider how that would interact with another
feature, namely specifying request parameters in a JSON request body.

The method of specifying channel variables (as a flat JSON object passed
in the JSON body) interferes with parsing parameters out of the request
body.

Unfortunately, fixing this would be a backward incompatible change. In
the interest of keeping the API sane and keeping our release schedule,
we're dropping the feature for specifying channel variables in the
origination request.

We will bring the feature back soon, as a backward compatible addition
to the API.
Originated a call using a JSON post. Worked as expected.

curl -X POST -H "Content-Type: application/json" -d '{ "endpoint": "SIP/blink", "app": "hello", "timeout": 30 }'  -v 'http://localhost:8088/ari/channels?api_key=ari:ari'
Total:
1
Open:
0
Resolved:
1
Dropped:
0
Status:
From:
Description From Last Updated Status
Review request changed
Updated (Dec. 20, 2013, 4:07 p.m.)
  • changed from pending to submitted

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.