Author: gtjoseph Date: Sat Aug 30 12:32:17 2014 New Revision: 422445 URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=422445 Log: confbridge: Add Duration to ConfbridgeList event
The ConfbridgeList event doesn't include how long the user has been a member of the conference. This patch adds Duration (seconds) which is based on user->chan->answertime. Tested by: George Joseph Review: https://reviewboard.asterisk.org/r/3955/ ........ Merged revisions 422444 from http://svn.asterisk.org/svn/asterisk/branches/12 Modified: branches/13/ (props changed) branches/13/apps/app_confbridge.c Propchange: branches/13/ ------------------------------------------------------------------------------ Binary property 'branch-12-merged' - no diff available. Modified: branches/13/apps/app_confbridge.c URL: http://svnview.digium.com/svn/asterisk/branches/13/apps/app_confbridge.c?view=diff&rev=422445&r1=422444&r2=422445 ============================================================================== --- branches/13/apps/app_confbridge.c (original) +++ branches/13/apps/app_confbridge.c Sat Aug 30 12:32:17 2014 @@ -2837,6 +2837,7 @@ "EndMarked: %s\r\n" "Waiting: %s\r\n" "Muted: %s\r\n" + "AnsweredTime: %d\r\n" "\r\n", id_text, conference->name, @@ -2848,7 +2849,8 @@ ast_test_flag(&user->u_profile, USER_OPT_WAITMARKED) ? "Yes" : "No", ast_test_flag(&user->u_profile, USER_OPT_ENDMARKED) ? "Yes" : "No", waiting ? "Yes" : "No", - user->muted ? "Yes" : "No"); + user->muted ? "Yes" : "No", + ast_channel_get_up_time(user->chan)); } static int action_confbridgelist(struct mansession *s, const struct message *m) -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- svn-commits mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/svn-commits