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

Jason Parker reviewboard at asterisk.org
Fri Jun 28 10:30:45 CDT 2013



> On June 27, 2013, 4:36 p.m., Mark Michelson wrote:
> > /trunk/res/stasis_http/resource_channels.c, lines 360-364
> > <https://reviewboard.asterisk.org/r/2626/diff/2/?file=40402#file40402line360>
> >
> >     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?

These have been changed to 400 Bad Request.


- Jason


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


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/20130628/dbfd699f/attachment-0001.htm>


More information about the asterisk-dev mailing list