[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 14:26:07 CDT 2007


email_notification_title_for_action_bugnote_submitted 
====================================================================== 
http://bugs.digium.com/view.php?id=10102 
====================================================================== 
Reported By:                ygor
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10102
Category:                   Core/HTTP
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
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 14:26 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 14:26  
---------------------------------------------------------------------- 
It looks like it's using the callerID in this part of the code, but using
the name of the bridged channel in the CLI commands. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-02-07 14:12  ygor           New Issue                                    
07-02-07 14:12  ygor           Asterisk Version          => 1.4.5           
07-02-07 14:12  ygor           SVN Branch (only for SVN checkou => N/A          
  
07-02-07 14:12  ygor           Disclaimer on File?       => No              
======================================================================




More information about the Asterisk-bugs mailing list