[Home]

Summary:ASTERISK-13913: Truncation problem with AMI ActionID
Reporter:Mark Murawski (kobaz)Labels:
Date Opened:2009-04-07 13:22:15Date Closed:2009-04-07 15:59:07
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Addons/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:This happens on 1.6.X (probably 1.4.x too)

Action: login
Username: admin
Secret: admin
Events: all


Action: Originate
Channel: Local/5506@cos_basic
Context: cos_basic
Exten: 5508
Priority: 1
Callerid: 8005558355
Timeout: 30000
ActionID: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
Async: 1


Event: OriginateResponse
Privilege: call,all
ActionID: 123456789012345678901234567890123456789012345678901234567890123456789Response: Success
Channel: Local/5506@cos_basic-e248;1
Context: cos_basic
Exten: 5508
Reason: 4
Uniqueid: 1239127577.456
CallerIDNum: 8005558355
CallerIDName: <unknown>

Note 'ActionID' in the OriginateResponse.  It looks like ActionID is limited to 69 characters.  It also looks like when it's being populated, it's losing it's terminating null.
Comments:By: Mark Michelson (mmichelson) 2009-04-07 15:43:14

Limiting the number of characters in an ActionID is not really a bug. It's a limitation, but not something actually problematic in the code. However, the fact that the CRLF after the ActionID may not be printed in the OriginateResponse is a bug, and I will have that fixed very shortly.

By: Digium Subversion (svnbot) 2009-04-07 15:43:50

Repository: asterisk
Revision: 186719

U   branches/1.4/main/manager.c

------------------------------------------------------------------------
r186719 | mmichelson | 2009-04-07 15:43:49 -0500 (Tue, 07 Apr 2009) | 6 lines

Ensure that \r\n is printed after the ActionID in an OriginateResponse.

(closes issue ASTERISK-13913)
Reported by: kobaz


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

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

By: Digium Subversion (svnbot) 2009-04-07 15:46:19

Repository: asterisk
Revision: 186720

_U  trunk/
U   trunk/main/manager.c

------------------------------------------------------------------------
r186720 | mmichelson | 2009-04-07 15:46:19 -0500 (Tue, 07 Apr 2009) | 12 lines

Merged revisions 186719 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
 r186719 | mmichelson | 2009-04-07 15:43:49 -0500 (Tue, 07 Apr 2009) | 6 lines
 
 Ensure that \r\n is printed after the ActionID in an OriginateResponse.
 
 (closes issue ASTERISK-13913)
 Reported by: kobaz
........

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

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

By: Digium Subversion (svnbot) 2009-04-07 15:49:54

Repository: asterisk
Revision: 186721

_U  branches/1.6.0/
U   branches/1.6.0/main/manager.c

------------------------------------------------------------------------
r186721 | mmichelson | 2009-04-07 15:49:54 -0500 (Tue, 07 Apr 2009) | 19 lines

Merged revisions 186720 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r186720 | mmichelson | 2009-04-07 15:46:18 -0500 (Tue, 07 Apr 2009) | 12 lines
 
 Merged revisions 186719 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r186719 | mmichelson | 2009-04-07 15:43:49 -0500 (Tue, 07 Apr 2009) | 6 lines
   
   Ensure that \r\n is printed after the ActionID in an OriginateResponse.
   
   (closes issue ASTERISK-13913)
   Reported by: kobaz
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-04-07 15:53:10

Repository: asterisk
Revision: 186722

_U  branches/1.6.1/
U   branches/1.6.1/main/manager.c

------------------------------------------------------------------------
r186722 | mmichelson | 2009-04-07 15:53:10 -0500 (Tue, 07 Apr 2009) | 19 lines

Merged revisions 186720 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r186720 | mmichelson | 2009-04-07 15:46:18 -0500 (Tue, 07 Apr 2009) | 12 lines
 
 Merged revisions 186719 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r186719 | mmichelson | 2009-04-07 15:43:49 -0500 (Tue, 07 Apr 2009) | 6 lines
   
   Ensure that \r\n is printed after the ActionID in an OriginateResponse.
   
   (closes issue ASTERISK-13913)
   Reported by: kobaz
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-04-07 15:59:07

Repository: asterisk
Revision: 186723

_U  branches/1.6.2/
U   branches/1.6.2/main/manager.c

------------------------------------------------------------------------
r186723 | mmichelson | 2009-04-07 15:59:07 -0500 (Tue, 07 Apr 2009) | 19 lines

Merged revisions 186720 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r186720 | mmichelson | 2009-04-07 15:46:18 -0500 (Tue, 07 Apr 2009) | 12 lines
 
 Merged revisions 186719 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r186719 | mmichelson | 2009-04-07 15:43:49 -0500 (Tue, 07 Apr 2009) | 6 lines
   
   Ensure that \r\n is printed after the ActionID in an OriginateResponse.
   
   (closes issue ASTERISK-13913)
   Reported by: kobaz
 ........
................

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

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