[asterisk-dev] [Code Review] 2583: Make ast_bridge_snapshot_to_json conform to the swagger Bridge model

opticron reviewboard at asterisk.org
Mon Jun 3 12:34:00 CDT 2013


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

(Updated June 3, 2013, 12:34 p.m.)


Review request for Asterisk Developers and David Lee.


Changes
-------

Address Richard's comments.


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 (updated)
-----

  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/20130603/0444d3e0/attachment.htm>


More information about the asterisk-dev mailing list