[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 Jul 2 18:07:59 CDT 2007


email_notification_title_for_action_bugnote_submitted 
====================================================================== 
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:              07-02-2007 18:07 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


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

---------------------------------------------------------------------- 
 qwell - 07-02-07 18:07  
---------------------------------------------------------------------- 
Please try the attached patch.

We decided that although the manager command is different than the CLI
commands, we have to keep them as they are in existing versions.  In svn
trunk, we can add this, which adds a TalkingToChan line, which is the same
as what you see on the CLI.  If you want this fix in 1.4 locally, you'll
have to use this patch would should apply just fine. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-02-07 18:07  qwell          Note Added: 0066430                          
======================================================================




More information about the Asterisk-bugs mailing list