[asterisk-dev] [Code Review] 2906: Use POST / DELETE to handle toggle of hold / unhold and mohstart / mohstop

Daniel Jenkins dan.jenkins88 at gmail.com
Tue Oct 15 02:36:03 CDT 2013


David and I spoke about this at Astricon, seems like a good idea to me; if
people aren't closed to making such a "big" change to the interface.


On Tue, Oct 15, 2013 at 1:00 AM, Paul Belanger <reviewboard at asterisk.org>wrote:

>    This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2906/
>   Review request for Asterisk Developers.
> By Paul Belanger.
>  *Repository: * Asterisk
> Description
>
> While spending my time with ARI over the last few days, I've been seeing some room for improvements. For example, today we explicitly return a user to pass toggle actions via the URL.  I believe HTTP has a built-in function that will help make this easier.  So, I am proposing we use the POST / DELETE functions from HTTP to handle some toggle events.
>
> This change updates how we toggle a hold and moh, to be much cleaner IMO for HTTP.
>
>   Testing
>
> local development box
>
>   Diffs
>
>    - trunk/res/res_ari_channels.c (400880)
>    - trunk/rest-api/api-docs/channels.json (400880)
>
> View Diff <https://reviewboard.asterisk.org/r/2906/diff/>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131015/b455ade5/attachment-0001.html>


More information about the asterisk-dev mailing list