[asterisk-dev] [Code Review] 3052: ARI: Allow specifying channel variables during a POST /channels
    Kevin Harwell 
    reviewboard at asterisk.org
       
    Fri Dec 13 11:24:48 CST 2013
    
    
  
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3052/
-----------------------------------------------------------
(Updated Dec. 13, 2013, 11:24 a.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Bugs: ASTERISK-22872
    https://issues.asterisk.org/jira/browse/ASTERISK-22872
Repository: Asterisk
Description
-------
Added the ability to specify channel variables when creating/originating a channel in ARI.  The variables are sent in the body of the request and should be formatted as a single level JSON object.  For example: {"variable1": "foo", "variable2": "bar"}. No nested objects allowed.
Diffs
-----
  branches/12/rest-api/api-docs/channels.json 403715 
  branches/12/res/res_ari_channels.c 403715 
  branches/12/res/ari/resource_channels.c 403715 
  branches/12/res/ari/resource_channels.h 403715 
  branches/12/main/http.c 403715 
Diff: https://reviewboard.asterisk.org/r/3052/diff/
Testing
-------
Some manual testing to make sure variables were being set.  Also wrote a test for the testsuite.
Thanks,
Kevin Harwell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131213/983a81c7/attachment-0001.html>
    
    
More information about the asterisk-dev
mailing list