mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
Fix bridge snapshot conversion to JSON
This makes ast_bridge_snapshot_to_json conform to the swagger Bridge model by adding the two fields it required. Review: https://reviewboard.asterisk.org/r/2583/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -39,6 +39,8 @@ struct ast_bridge_snapshot {
|
||||
AST_STRING_FIELD(uniqueid);
|
||||
/*! Bridge technology that is handling the bridge */
|
||||
AST_STRING_FIELD(technology);
|
||||
/*! Bridge subclass that is handling the bridge */
|
||||
AST_STRING_FIELD(subclass);
|
||||
);
|
||||
/*! AO2 container of bare channel uniqueid strings participating in the bridge.
|
||||
* Allocated from ast_str_container_alloc() */
|
||||
|
||||
Reference in New Issue
Block a user