[Home]

Summary:ASTERISK-13688: [patch] Provide timestamp with pong response
Reporter:Jim Dickenson (jimdickenson)Labels:
Date Opened:2009-03-03 11:20:09.000-0600Date Closed:2009-06-26 15:53:51
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) pong2.diff
Description:Instead of having the timestamp come back with all events I just wanted to get the timestamp when I needed it. It seemed like a convenient way to get that information was to add it to the response to a ping action.

****** ADDITIONAL INFORMATION ******

Edit: Code removed (Leif)
Comments:By: Leif Madsen (lmadsen) 2009-03-03 11:37:36.000-0600

I have removed the inline code on this issue because you must attach a unified diff patch as an attachment to the issue. This way it will be controlled via our license server. Thanks!

By: Jim Dickenson (jimdickenson) 2009-03-03 12:31:05.000-0600

The file pong.diff had a change from another issue. I removed that change and uploaded pong2.diff as I do not see a way I can remove an uploaded file.

By: Mark Michelson (mmichelson) 2009-06-26 15:48:14

This issue has been sitting idle for a while and there's no good reason not to get this merged in. I plan on committing the pong2.diff that's posted here with one change. The Response and Timestamp lines will be separated by a \r\n like most headers in manager responses.

Also, just for clarity, since this is a new feature, the patch will only be applied to the trunk, and not to any current releases.

By: Digium Subversion (svnbot) 2009-06-26 15:52:20

Repository: asterisk
Revision: 203783

U   trunk/doc/manager_1_1.txt
U   trunk/main/manager.c

------------------------------------------------------------------------
r203783 | mmichelson | 2009-06-26 15:52:19 -0500 (Fri, 26 Jun 2009) | 8 lines

Add timestamp to response to "Ping" manager action.

(closes issue ASTERISK-13688)
Reported by: JimDickenson
Patches:
     pong2.diff uploaded by JimDickenson (license 710)


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

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

By: Digium Subversion (svnbot) 2009-06-26 15:53:51

Repository: asterisk
Revision: 203784

_U  branches/1.6.2/

------------------------------------------------------------------------
r203784 | mmichelson | 2009-06-26 15:53:51 -0500 (Fri, 26 Jun 2009) | 13 lines

Blocked revisions 203783 via svnmerge

........
 r203783 | mmichelson | 2009-06-26 15:52:19 -0500 (Fri, 26 Jun 2009) | 8 lines
 
 Add timestamp to response to "Ping" manager action.
 
 (closes issue ASTERISK-13688)
 Reported by: JimDickenson
 Patches:
       pong2.diff uploaded by JimDickenson (license 710)
........

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

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