[asterisk-bugs] [Asterisk 0014847]: Truncation problem with AMI ActionID

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 7 15:53:10 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14847 
====================================================================== 
Reported By:                kobaz
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14847
Category:                   Addons/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-07 13:22 CDT
Last Modified:              2009-04-07 15:53 CDT
====================================================================== 
Summary:                    Truncation problem with AMI ActionID
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 at 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 at 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0102862) svnbot (reporter) - 2009-04-07 15:53
 http://bugs.digium.com/view.php?id=14847#c102862 
---------------------------------------------------------------------- 
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 http://bugs.digium.com/view.php?id=14847)
    Reported by: kobaz
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-07 15:53 svnbot         Checkin                                      
2009-04-07 15:53 svnbot         Note Added: 0102862                          
======================================================================




More information about the asterisk-bugs mailing list