[Home]

Summary:ASTERISK-13142: [patch] Ping action response packet doesn't contain ActionID
Reporter:Mika Aalto (mika)Labels:
Date Opened:2008-11-30 06:52:18.000-0600Date Closed:2008-12-18 15:44:16.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) PingActionPatch.diff
Description:When I call asterisk manager interface with ping packet like this

Action: Ping
ActionID: 2

AMI will send back packet like this

Response: Success
Ping: Pong

So ActionID field is missing from response packet. Response should look like

Response: Success
ActionID: 2
Ping: Pong
Comments:By: Mika Aalto (mika) 2008-11-30 06:53:41.000-0600

Added patch which will fix this issue.

By: Digium Subversion (svnbot) 2008-12-18 15:43:13.000-0600

Repository: asterisk
Revision: 165798

U   trunk/main/manager.c

------------------------------------------------------------------------
r165798 | jpeeler | 2008-12-18 15:43:13 -0600 (Thu, 18 Dec 2008) | 6 lines

(closes issue ASTERISK-13142)
Reported by: mika

Add ActionID response to ping if sent with request.


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

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

By: Digium Subversion (svnbot) 2008-12-18 15:44:01.000-0600

Repository: asterisk
Revision: 165799

_U  branches/1.6.0/

------------------------------------------------------------------------
r165799 | jpeeler | 2008-12-18 15:44:00 -0600 (Thu, 18 Dec 2008) | 13 lines

Blocked revisions 165798 via svnmerge

........
r165798 | jpeeler | 2008-12-18 15:43:17 -0600 (Thu, 18 Dec 2008) | 6 lines

(closes issue ASTERISK-13142)
Reported by: mika

Add ActionID response to ping if sent with request.


........

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

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

By: Digium Subversion (svnbot) 2008-12-18 15:44:15.000-0600

Repository: asterisk
Revision: 165800

_U  branches/1.6.1/

------------------------------------------------------------------------
r165800 | jpeeler | 2008-12-18 15:44:15 -0600 (Thu, 18 Dec 2008) | 13 lines

Blocked revisions 165798 via svnmerge

........
r165798 | jpeeler | 2008-12-18 15:43:17 -0600 (Thu, 18 Dec 2008) | 6 lines

(closes issue ASTERISK-13142)
Reported by: mika

Add ActionID response to ping if sent with request.


........

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

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