[Asterisk-cvs] asterisk/res res_features.c,1.46,1.47
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Wed Apr 20 11:37:02 CDT 2005
- Previous message: [Asterisk-cvs] zaptel Makefile, 1.72, 1.73 fxsdump.c, 1.1,
1.2 patgen.c, 1.3, 1.4 patlooptest.c, 1.3, 1.4 pattest.c, 1.3,
1.4 timertest.c, 1.1, 1.2 ztdiag.c, 1.1, 1.2
- Next message: [Asterisk-cvs] asterisk rtp.c,1.122,1.123
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv3145/res
Modified Files:
res_features.c
Log Message:
add count of parked calls to 'show parkedcalls' (bug #4023)
Index: res_features.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_features.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- res_features.c 13 Apr 2005 23:33:47 -0000 1.46
+++ res_features.c 20 Apr 2005 16:27:44 -0000 1.47
@@ -1423,6 +1423,7 @@
static int handle_parkedcalls(int fd, int argc, char *argv[])
{
struct parkeduser *cur;
+ int numparked = 0;
ast_cli(fd, "%4s %25s (%-15s %-12s %-4s) %-6s \n", "Num", "Channel"
, "Context", "Extension", "Pri", "Timeout");
@@ -1436,7 +1437,9 @@
,cur->priority, cur->start.tv_sec + (cur->parkingtime/1000) - time(NULL));
cur = cur->next;
+ numparked++;
}
+ ast_cli(fd, "%d parked call(s).\n",numparked);
ast_mutex_unlock(&parking_lock);
- Previous message: [Asterisk-cvs] zaptel Makefile, 1.72, 1.73 fxsdump.c, 1.1,
1.2 patgen.c, 1.3, 1.4 patlooptest.c, 1.3, 1.4 pattest.c, 1.3,
1.4 timertest.c, 1.1, 1.2 ztdiag.c, 1.1, 1.2
- Next message: [Asterisk-cvs] asterisk rtp.c,1.122,1.123
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list