[asterisk-bugs] [JIRA] (ASTERISK-25357) AMI GetConfigJSON
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Tue Sep 8 17:13:32 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Mudgett updated ASTERISK-25357:
---------------------------------------
Description:
This is a error json format on function action_getconfigjson or manager.c
{noformat}
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, "}");
{noformat}
was:
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, "}");
> AMI GetConfigJSON
> -----------------
>
> Key: ASTERISK-25357
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25357
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/ManagerInterface
> Affects Versions: 13.2.0
> Environment: Ubuntu 14.04
> Reporter: tangqinchao
> Assignee: tangqinchao
> Severity: Minor
>
> This is a error json format on function action_getconfigjson or manager.c
> {noformat}
> 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, "}");
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list