Summary:ASTERISK-05095: LoggedinChan is not displayed via Manager interface.
Reporter:opsys (opsys)Labels:
Date Opened:2005-09-15 13:09:26Date Closed:2008-01-15 15:50:49.000-0600
Versions:Frequency of
Description:telnet (manager IP) 5038
Action: login
Username: me
Secret: {password}

Action: agents

Response: Success
Message: Agents will follow

Event: Agents
Agent: 1001
Name: Mark_Spencer
LoggedInChan: n/a
LoggedInTime: 0
TalkingTo: n/a

Event: Agents
Agent: 1002
Name: Will_Meadows
LoggedInTime: 1126807086
TalkingTo: n/a

Event: AgentsComplete
Comments:By: Kevin P. Fleming (kpfleming) 2005-09-15 16:35:59

Since you have not showed us how this agent logged in, I'll have to assume it is using AgentCallbackLogin. If that's the case, there is no "LoggedInChan", since the agent is not connected to chan_agent until a call is sent to the agent.

By: opsys (opsys) 2005-09-15 16:51:32

I am logged in via exten => 8600,1,AgentLogin()

By: opsys (opsys) 2005-09-20 21:48:51

Funny thing is that 'show agents' from the CLI works fine!!
CVS HEAD 2005-09-20 17:51:19 UTC

By: opsys (opsys) 2005-09-20 21:50:56

Also name field sows fine under CLI but not Manager. If it is A B, only A shows up.

By: Kevin P. Fleming (kpfleming) 2005-09-25 22:09:11

Fixed in CVS HEAD, although I can't say for sure it will fix your problem since it would have only affected agents who are configured to require acknowledging calls, and you haven't provided us the required configuration information.

Your comment about the name field is very difficult to understand; if there is an issue there please open a new bug that describes _exactly_ what is wrong and provides the relevant configuration information and a trace file showing the incorrect output.

By: opsys (opsys) 2005-10-13 17:38:42

When the Name is entered in the agents.conf file as Firstname Lastname only Firstname is displayed in the manager.

By: Kevin P. Fleming (kpfleming) 2005-10-13 18:05:19

This should actually be fixed now... the code was using the wrong logic (and wrong channel name) for non-callback agents.

By: Digium Subversion (svnbot) 2008-01-15 15:49:11.000-0600

Repository: asterisk
Revision: 6657

U   trunk/channels/chan_agent.c

r6657 | kpfleming | 2008-01-15 15:49:11 -0600 (Tue, 15 Jan 2008) | 2 lines

fix some buglets in 'agents' Manager action (issue ASTERISK-5095)



By: Digium Subversion (svnbot) 2008-01-15 15:50:49.000-0600

Repository: asterisk
Revision: 6766

U   trunk/channels/chan_agent.c

r6766 | kpfleming | 2008-01-15 15:50:49 -0600 (Tue, 15 Jan 2008) | 2 lines

properly display connected channel name in 'agents' manager action for non-callback agents (issue ASTERISK-5095)