[asterisk-bugs] [Asterisk 0019216]: [patch] Originate action generates two error responses

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 4 09:35:07 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19216 
====================================================================== 
Reported By:                oej
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   19216
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.8.3.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-03 07:16 CDT
Last Modified:              2011-05-04 09:35 CDT
====================================================================== 
Summary:                    [patch] Originate action generates two error
responses
Description: 
Asterisk 1.8 from svn (todays version)

action: originate
actionid: test123edv
async: yes
earlymedia: yes
channel: local/1020 at pinefrog
exten: 1010
context: pinefrog
priority: 1

Response: Error
ActionID: test123edv
Message: Permission denied

Response: Error
ActionID: test123edv
Message: Invalid/unknown command: originate. Use Action: ListCommands to
show available commands.

====================================================================== 

---------------------------------------------------------------------- 
 (0134430) svnbot (reporter) - 2011-05-04 09:35
 https://issues.asterisk.org/view.php?id=19216#c134430 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 316663

U   branches/1.8/main/manager.c

------------------------------------------------------------------------
r316663 | seanbright | 2011-05-04 09:35:06 -0500 (Wed, 04 May 2011) | 8
lines

Only return a single error via AMI when requesting a forbidden action.

(closes issue https://issues.asterisk.org/view.php?id=19216)
Reported by: oej
Patches:
      issue19216-1.8-r316204.patch uploaded by seanbright (license 71)
Tested by: seanbright

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-04 09:35 svnbot         Checkin                                      
2011-05-04 09:35 svnbot         Note Added: 0134430                          
======================================================================




More information about the asterisk-bugs mailing list