[asterisk-bugs] [JIRA] (ASTERISK-25357) AMI GetConfigJSON

tangqinchao (JIRA) noreply at issues.asterisk.org
Fri Aug 28 20:24:33 CDT 2015


tangqinchao created ASTERISK-25357:
--------------------------------------

             Summary: AMI GetConfigJSON
                 Key: ASTERISK-25357
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25357
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: . I did not set the category correctly.
    Affects Versions: 13.2.0
         Environment: Ubuntu 14.04
            Reporter: tangqinchao
            Severity: Minor


This is a error json format on function action_getconfigjson or manager.c

 astman_append(s, "\":[")   ==>  astman_append(s, "\":{");
 astman_append(s, "istemplate:1");  ==> astman_append(s, "\"istemplate\":1");
 astman_append(s, "templates:\"%s\"", ast_str_buffer(templates)); ==> 
astman_append(s, "\"templates\":\"%s\"", ast_str_buffer(templates));
 astman_append(s, "]");   ==> astman_append(s, "}");






--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list