summaryrefslogtreecommitdiff
path: root/channels/chan_pjsip.c
diff options
context:
space:
mode:
authorIvan Poddubny <ivan.poddubny@gmail.com>2015-10-03 14:27:27 +0300
committerIvan Poddubny <ivan.poddubny@gmail.com>2015-10-03 15:15:52 +0300
commit89dec7675d0df2db273a5f3450b0d78732ed0b63 (patch)
treeb13e11d865d1d9a9d1e5a18cf703edaca840a2e3 /channels/chan_pjsip.c
parentace043f4ea1a3029769de86dc21dbcedd47a16d5 (diff)
manager: Fix GetConfigJSON returning invalid JSON
When GetConfigJSON was introduced back in 1.6, it returned each section as an array of strings: ["key=value", "key2=value2"]. Afterwards, it was changed a few times and became ["key": "value", "key2": "value2"], which is not a correct JSON. This patch fixes that by constructing a JSON object {} instead of an array []. Also, the keys "istemplate" and "tempates" that are used to indicate templates and their inherited categories are now wrapped in quotes. ASTERISK-25391 #close Reported by: Bojan Nemčić Change-Id: Ibbe93c6a227dff14d4a54b0d152341857bcf6ad8
Diffstat (limited to 'channels/chan_pjsip.c')
0 files changed, 0 insertions, 0 deletions