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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 28 23:15:08 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-05-28 23:15 CDT
====================================================================== 
Summary:                    [patch] JSON Manager Event Interface
Description: 
Make it easier to work with pure javascript Asterisk managers. Just adding
another option.
====================================================================== 

---------------------------------------------------------------------- 
 (0105701) PLL (reporter) - 2009-05-28 23:15
 https://issues.asterisk.org/view.php?id=14281#c105701 
---------------------------------------------------------------------- 
Uploaded patch to current SVN.

There is a trivial but annoying bug, it kept chocking cookielib. Version
of the cookie should be 1 not "1". Should I open a new bug?
- "Set-Cookie: mansession_id=\"%08x\"; Version=\"1\"; Max-Age=%d"
+ "Set-Cookie: mansession_id=\"%08x\"; Max-Age=%d; Version=1\r\n"

I also uploaded a parameter tester in python (requires 2.6). It connects
to the manager and tests the mjson response against it.

I put the action "ListCommands" in there, I know it fails due to an extra
space at the beginning of every parameter but that's something in
ListCommands. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-28 23:15 PLL            Note Added: 0105701                          
======================================================================




More information about the asterisk-bugs mailing list