[asterisk-bugs] [Asterisk 0014824]: http Queue Actions Crash Asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 9 19:05:01 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14824 
====================================================================== 
Reported By:                sum
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14824
Category:                   Core/HTTP
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 185947 
Request Review:              
====================================================================== 
Date Submitted:             2009-04-03 17:18 CDT
Last Modified:              2009-04-09 19:05 CDT
====================================================================== 
Summary:                    http Queue Actions Crash Asterisk
Description: 
The system is crashing when using Http rawman QueueSummary,
QueueStatus,QueueReset,QueueReload etc.
After some querys Asterisk crashes. I upload valgrind1 and malloc1.
I also notice that QueueReset doesn't reset agents data, I think that it
should reset also the agent data to get consistent numbers.


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

---------------------------------------------------------------------- 
 (0103057) sum (reporter) - 2009-04-09 19:05
 http://bugs.digium.com/view.php?id=14824#c103057 
---------------------------------------------------------------------- 
after the new MOH changes this isn't crashing, sorry about the wrong
diagnostic, I'll be more careful next time. regarding the enhacement is
exactly as you mention, I think this would get the numbers better, I add
here an example

Response: Success
Message: Queue status will follow

Event: QueueParams
Queue: Pedidos
Max: 10
Strategy: rrmemory
Calls: 0
Holdtime: 5
TalkTime: 8
Completed: 2
Abandoned: 0
ServiceLevel: 8
ServicelevelPerf: 50.0
Weight: 10

Event: QueueMember
Queue: Pedidos
Name: 1001
Location: SIP/1001
Membership: static
Penalty: 0
CallsTaken: 6
LastCall: 1239314388
Status: 1
Paused: 0

Event: QueueMember
Queue: Pedidos
Name: 1003
Location: IAX/1003
Membership: static
Penalty: 0
CallsTaken: 0
LastCall: 0
Status: 4
Paused: 0

Event: QueueStatusComplete



QueueReset


Response: Success
Message: Queue status will follow

Event: QueueParams
Queue: Pedidos
Max: 10
Strategy: rrmemory
Calls: 0
Holdtime: 0
TalkTime: 8    --> this isn't reset???
Completed: 0
Abandoned: 0
ServiceLevel: 8
ServicelevelPerf: 0.0
Weight: 10

Event: QueueMember
Queue: Pedidos
Name: 1001
Location: SIP/1001
Membership: static
Penalty: 0
CallsTaken: 6            --> this isn't reset???
LastCall: 1239314388     --> this isn't reset???
Status: 1
Paused: 0

Event: QueueMember
Queue: Pedidos
Name: 1003
Location: IAX/1003
Membership: static
Penalty: 0
CallsTaken: 0
LastCall: 0
Status: 4
Paused: 0

Event: QueueStatusComplete 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-09 19:05 sum            Note Added: 0103057                          
======================================================================




More information about the asterisk-bugs mailing list