Index: channels/chan_agent.c =================================================================== RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v retrieving revision 1.118 diff -u -r1.118 chan_agent.c --- channels/chan_agent.c 28 Feb 2005 00:40:35 -0000 1.118 +++ channels/chan_agent.c 28 Feb 2005 19:58:01 -0000 @@ -1249,6 +1249,7 @@ return 0; } +/*--- action_agents: Manager routine for listing channels */ static int action_agents(struct mansession *s, struct message *m) { struct agent_pvt *p; @@ -2116,7 +2117,7 @@ ast_register_application(app2, callback_exec, synopsis2, descrip2); ast_register_application(app3, agentmonitoroutgoing_exec, synopsis3, descrip3); /* Manager command */ - ast_manager_register2("Agents", 0, action_agents, "Agents", mandescr_agents); + ast_manager_register2("Agents", 0, action_agents, "Lists agents and their status", mandescr_agents); /* CLI Application */ ast_cli_register(&cli_show_agents); ast_cli_register(&cli_agent_logoff);