[Home]

Summary:ASTERISK-14040: [patch] CoreStatus Data
Reporter:Sebastian Gutierrez (sum)Labels:
Date Opened:2009-04-29 19:14:42Date Closed:2009-05-26 15:20:52
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) CoreStatusDate.patch
Description:The time in CoreStatus Response is the absolute time, not the relative time

Example:

Action: CoreStatus

Response: Success
CoreStartupTime: 15:09:18
CoreReloadTime: 02:04:14
CoreCurrentCalls: 0

15:09 was yesterday
2:04 is today
Comments:By: Sebastian Gutierrez (sum) 2009-04-29 19:20:33

Also current calls should be renamed to current channels, because is not te number of current calls.
supose I have 2 softphones and call each other. there CurrentCalls says 2 when there is one call and 2 channels

By: Sebastian Gutierrez (sum) 2009-04-29 19:45:14

Uploaded patch to get better start time and reload time output.
any comments?
Based on trunk 191177

Tested, output as expected complete date canonical format.



By: Sebastian Gutierrez (sum) 2009-05-12 16:16:13

Any comment about this issue?

By: Sebastian Gutierrez (sum) 2009-05-21 19:00:18

anything I can do to get this checked in?

By: Digium Subversion (svnbot) 2009-05-26 15:20:09

Repository: asterisk
Revision: 196907

U   trunk/main/manager.c

------------------------------------------------------------------------
r196907 | seanbright | 2009-05-26 15:20:09 -0500 (Tue, 26 May 2009) | 10 lines

Include startup and reload date in the CoreStatus manager message.

The CoreStartupTime and CoreReloadTime name/value pairs in the CoreStatus
response message only included the time and not the date.  This patch,
inspired by the reporter's patch, adds 2 new fields - CoreStartupDate and
CoreReloadDate - which contain the date portion of these values.

(closes issue ASTERISK-14040)
Reported by: sum

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

http://svn.digium.com/view/asterisk?view=rev&revision=196907

By: Digium Subversion (svnbot) 2009-05-26 15:20:51

Repository: asterisk
Revision: 196911

_U  branches/1.6.2/

------------------------------------------------------------------------
r196911 | seanbright | 2009-05-26 15:20:51 -0500 (Tue, 26 May 2009) | 16 lines

Blocked revisions 196907 via svnmerge

........
 r196907 | seanbright | 2009-05-26 16:20:08 -0400 (Tue, 26 May 2009) | 10 lines
 
 Include startup and reload date in the CoreStatus manager message.
 
 The CoreStartupTime and CoreReloadTime name/value pairs in the CoreStatus
 response message only included the time and not the date.  This patch,
 inspired by the reporter's patch, adds 2 new fields - CoreStartupDate and
 CoreReloadDate - which contain the date portion of these values.
 
 (closes issue ASTERISK-14040)
 Reported by: sum
........

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

http://svn.digium.com/view/asterisk?view=rev&revision=196911