mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-11 23:28:59 +00:00
bridging: Add creation timestamps
This small feature will help to checking the bridge's status to figure out which bridge is in old/zombie or not. Also added detail items for the 'bridge show *' cli to provide more detail info. And added creation item to the ARI as well. ASTERISK-28279 Change-Id: I460238c488eca4d216b9176576211cb03286e040
This commit is contained in:
@@ -358,6 +358,8 @@ struct ast_bridge {
|
||||
|
||||
/*! Type mapping used for media routing */
|
||||
struct ast_vector_int media_types;
|
||||
/*! The time of bridge creation */
|
||||
struct timeval creationtime;
|
||||
};
|
||||
|
||||
/*! \brief Bridge base class virtual method table. */
|
||||
|
@@ -62,6 +62,8 @@ struct ast_bridge_snapshot {
|
||||
unsigned int num_active;
|
||||
/*! The video mode of the bridge */
|
||||
enum ast_bridge_video_mode_type video_mode;
|
||||
/*! The time of bridge creation */
|
||||
struct timeval creationtime;
|
||||
};
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user