[asterisk-dev] [Code Review] 2583: Make ast_bridge_snapshot_to_json conform to the swagger Bridge model
opticron
reviewboard at asterisk.org
Tue Jun 4 10:47:01 CDT 2013
> On June 3, 2013, 4:59 p.m., David Lee wrote:
> > trunk/main/bridging.c, lines 6133-6145
> > <https://reviewboard.asterisk.org/r/2583/diff/3/?file=38975#file38975line6133>
> >
> > Bridge capabilities is a bitset. Shouldn't we expect a bridge to have more than one of these bits set at a given time?
This field seems a LOT like business logic, so I've pruned it down to "holding" and "mixing" for the time being.
- opticron
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2583/#review8777
-----------------------------------------------------------
On June 3, 2013, 1:42 p.m., opticron wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2583/
> -----------------------------------------------------------
>
> (Updated June 3, 2013, 1:42 p.m.)
>
>
> Review request for Asterisk Developers and David Lee.
>
>
> Repository: Asterisk
>
>
> Description
> -------
>
> This adds two new fields to the JSON blob produced by ast_bridge_snapshot_to_json so that it conforms to the requirements of the JSON swagger model and reformulates the existing fields to be more swagger-friendly. This also exposes an existing capability to string function and introduces a companion conversion function.
>
>
> Diffs
> -----
>
> trunk/include/asterisk/bridging.h 390379
> trunk/include/asterisk/stasis_bridging.h 390379
> trunk/main/bridging.c 390379
> trunk/main/stasis_bridging.c 390379
> trunk/rest-api/api-docs/bridges.json 390379
>
> Diff: https://reviewboard.asterisk.org/r/2583/diff/
>
>
> Testing
> -------
>
> Made sure the messages came out right over Stasis-HTTP.
>
>
> Thanks,
>
> opticron
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130604/6b8d2700/attachment-0001.htm>
More information about the asterisk-dev
mailing list