[asterisk-bugs] [Asterisk 0010102]: Requesting action=Agents throught http manager interface doesn't return correct talkingto values when agent is talking to SIP.

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Aug 6 17:43:02 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10102 
====================================================================== 
Reported By:                ygor
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10102
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.5 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             07-02-2007 14:12 CDT
Last Modified:              08-06-2007 17:43 CDT
====================================================================== 
Summary:                    Requesting action=Agents throught http manager
interface doesn't return correct talkingto values when agent is talking to SIP.
Description: 
Login a agent in the system.
Call the agent from a SIP extension.
Do a http://SERVER_IP:8088/asterisk/mxml?action=agents
The server returns something like:

<response type="object" id="unknown">
<generic event="Agents" agent="5001" name="YGOR" status="AGENT_ONCALL"
loggedinchan="SIP/1201-0825b4a8" loggedintime="1183403043" talkingto=""/>
</response>

Notice that talkingto is empty, but I'm currently talking to the extension
SIP/1251 and it is supposed to appear on the talkingto field.

Also, I can get the information throught the cli:

*CLI> agent show online
5001         (YGOR) logged in on SIP/1201-0825fc18 talking to
SIP/1251-082900e0 (musiconhold is 'default')
1 agents online


====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 08-06-07 17:43  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 78312

------------------------------------------------------------------------
r78312 | qwell | 2007-08-06 17:43:01 -0500 (Mon, 06 Aug 2007) | 5 lines

Add a TalkingToChan to the response of the "agents" manager action.
This is similar to the existing "talking to" that you see what using the
"agent show" CLI command.

Closes issue http://bugs.digium.com/view.php?id=10102

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-06-07 17:43  svnbot         Checkin                                      
08-06-07 17:43  svnbot         Note Added: 0068525                          
08-06-07 17:43  svnbot         Status                   ready for testing =>
assigned
======================================================================




More information about the asterisk-bugs mailing list