[svn-commits] gtjoseph: trunk r422446 - in /trunk: ./ apps/app_confbridge.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Aug 30 12:33:11 CDT 2014


Author: gtjoseph
Date: Sat Aug 30 12:33:08 2014
New Revision: 422446

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=422446
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
........

Merged revisions 422445 from http://svn.asterisk.org/svn/asterisk/branches/13

Modified:
    trunk/   (props changed)
    trunk/apps/app_confbridge.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.

Modified: trunk/apps/app_confbridge.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_confbridge.c?view=diff&rev=422446&r1=422445&r2=422446
==============================================================================
--- trunk/apps/app_confbridge.c (original)
+++ trunk/apps/app_confbridge.c Sat Aug 30 12:33:08 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)




More information about the svn-commits mailing list