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

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


The following issue has been RESOLVED. 
====================================================================== 
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:                     resolved
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:43 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.
====================================================================== 

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


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-07 15:43 svnbot         Checkin                                      
2009-04-07 15:43 svnbot         Note Added: 0102859                          
2009-04-07 15:43 svnbot         Status                   new => assigned     
2009-04-07 15:43 svnbot         Assigned To               => mmichelson      
2009-04-07 15:43 svnbot         Status                   assigned => resolved
2009-04-07 15:43 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list