diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-06-18 14:30:06 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-06-18 14:30:06 +0000 |
commit | 3c34b725cbc8b582172d3ca348a43f59d3975755 (patch) | |
tree | ec546ea5304c7559dc62a798742c66cd66c56f92 /include/asterisk | |
parent | 4aa47d68930a3ff4e750a6044f51524a76185899 (diff) |
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
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/stasis_bridging.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/stasis_bridging.h b/include/asterisk/stasis_bridging.h index a9366e73d..76f4a9fed 100644 --- a/include/asterisk/stasis_bridging.h +++ b/include/asterisk/stasis_bridging.h @@ -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() */ |