Index: res/res_features.c =================================================================== RCS file: /usr/cvsroot/asterisk/res/res_features.c,v retrieving revision 1.45 diff -u -r1.45 res_features.c --- res/res_features.c 24 Mar 2005 05:37:59 -0000 1.45 +++ res/res_features.c 14 Apr 2005 00:21:15 -0000 @@ -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);