[asterisk-dev] [Code Review] 2626: ARI POST /channels: Add support for sending an originated call to a context/extension/priority.

Mark Michelson reviewboard at asterisk.org
Thu Jun 27 11:36:10 CDT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2626/#review8993
-----------------------------------------------------------



/trunk/res/stasis_http/resource_channels.c
<https://reviewboard.asterisk.org/r/2626/#comment17685>

    I'm no expert on stasis (or even HTTP in general for that matter) but if we can't process a request because of invalid input, then shouldn't that result in a 400 class response?



/trunk/res/stasis_http/resource_channels.c
<https://reviewboard.asterisk.org/r/2626/#comment17686>

    Same for this response.


- Mark Michelson


On June 25, 2013, 8:29 p.m., Jason Parker wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2626/
> -----------------------------------------------------------
> 
> (Updated June 25, 2013, 8:29 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-21658
>     https://issues.asterisk.org/jira/browse/ASTERISK-21658
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Add a way to send the call to a CEP.
> 
> This removes the Local channel madness that existed before, since it didn't make much sense.  The context/extension were re-purposed to be the secondary destination.
> 
> 
> Diffs
> -----
> 
>   /trunk/res/res_stasis_http_channels.c 392899 
>   /trunk/res/stasis_http/resource_channels.h 392899 
>   /trunk/res/stasis_http/resource_channels.c 392899 
>   /trunk/rest-api/api-docs/channels.json 392899 
> 
> Diff: https://reviewboard.asterisk.org/r/2626/diff/
> 
> 
> Testing
> -------
> 
> Calls work to either an app in Stasis or an extension (and fail if neither are specified).
> 
> 
> Thanks,
> 
> Jason Parker
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130627/184df33b/attachment.htm>


More information about the asterisk-dev mailing list