[asterisk-bugs] [Asterisk 0014281]: [patch] JSON Manager Event Interface

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 26 16:26:43 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14281 
====================================================================== 
Reported By:                PLL
Assigned To:                dbrooks
====================================================================== 
Project:                    Asterisk
Issue ID:                   14281
Category:                   Core/ManagerInterface/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 169443 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-19 20:02 CST
Last Modified:              2009-06-26 16:26 CDT
====================================================================== 
Summary:                    [patch] JSON Manager Event Interface
Description: 
Make it easier to work with pure javascript Asterisk managers. Just adding
another option.
====================================================================== 

---------------------------------------------------------------------- 
 (0107068) PLL (reporter) - 2009-06-26 16:26
 https://issues.asterisk.org/view.php?id=14281#c107068 
---------------------------------------------------------------------- 
The "missing digest" problem is now gone with the patch.

But it won't authenticate either.

line 4830:
    if (!d.nonce  || strncasecmp(d.response, resp_hash,
strlen(resp_hash))) {

That line fails the comparison. The hashes are different.

I am using this user to authenticate (users.conf):
[101]
hasmanager=yes
secret=1423

I am using firefox.

I also noticed that ast_get_http_method(method) returns UNKNOWN. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-26 16:26 PLL            Note Added: 0107068                          
======================================================================




More information about the asterisk-bugs mailing list