[asterisk-dev] [Code Review] 3278: ari: create bridges with specified unique id
Paul Belanger
reviewboard at asterisk.org
Sat Mar 1 17:41:56 CST 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3278/#review11012
-----------------------------------------------------------
/branches/12/rest-api/api-docs/bridges.json
<https://reviewboard.asterisk.org/r/3278/#comment20643>
After reading Matts comments, this still doesn't make sense.
We are going to do POST /bridges and pass both bridge ID and name.
But POST /bridges/{bridgeId} or PUT makes more sense. Since you even have the /bridges/{bridgeId} name space already, we should be just creating the bridge with the ID passed.
POST /bridges should be use when you want asterisk to generate the UUID for channel, and POST /bridges/{bridgeId} when you want to override it.
- Paul Belanger
On Feb. 28, 2014, 5:39 p.m., Scott Griepentrog wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3278/
> -----------------------------------------------------------
>
> (Updated Feb. 28, 2014, 5:39 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Bugs: ASTERISK-23120
> https://issues.asterisk.org/jira/browse/ASTERISK-23120
>
>
> Repository: Asterisk
>
>
> Description
> -------
>
> This adds the ability to pass an assigned unique id to bridge creation, and enables ari bridge creation to pass that as a new parameter.
>
>
> Diffs
> -----
>
> /branches/12/rest-api/api-docs/bridges.json 409051
> /branches/12/res/res_stasis.c 409051
> /branches/12/res/res_ari_bridges.c 409051
> /branches/12/res/parking/parking_bridge.c 409051
> /branches/12/res/ari/resource_bridges.c 409051
> /branches/12/res/ari/resource_bridges.h 409051
> /branches/12/main/bridge_basic.c 409051
> /branches/12/main/bridge.c 409051
> /branches/12/include/asterisk/stasis_app.h 409051
> /branches/12/include/asterisk/bridge_internal.h 409051
> /branches/12/include/asterisk/bridge.h 409051
> /branches/12/apps/app_confbridge.c 409051
> /branches/12/apps/app_bridgewait.c 409051
> /branches/12/apps/app_agent_pool.c 409051
>
> Diff: https://reviewboard.asterisk.org/r/3278/diff/
>
>
> Testing
> -------
>
> Test https://reviewboard.asterisk.org/r/3277/ now includes a test for this feature, which passes.
>
>
> Thanks,
>
> Scott Griepentrog
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140301/773c2e13/attachment-0001.html>
More information about the asterisk-dev
mailing list