Hi,

I am not aware of any such list. I don't remember exactly how I found this specific command but I guess it's from reading the source.
There is also an 'as xml' that works well for channel and call list.

You can maybe open a feature request on JIRA to add this feature to other commands.

Best Regards,
-- 
Vallimamod Abdullah
SIP Solutions
vma@sipsolutions.fr
.

On 5 Oct 2017, at 10:54, Rick Jarvis <rick@magicmail.mooo.com> wrote:

Wow, that’s great, thanks… is there a list of which commands work ‘as json’? For instance, ‘conference list as json’ doesn’t have the same effect?

On 5 Oct 2017, at 08:50, Vallimamod Abdullah <vma@vallimamod.org> wrote:

Hi,

You can get the channel list as json with 'show channels as json' ;)
And of course, if you set any of the listed variables, your custom value will also be available on the corresponding channel.

Best Regards,
-- 
Vallimamod Abdullah
SIP Solutions

On 4 Oct 2017, at 19:42, Rick Jarvis <rick@magicmail.mooo.com> wrote:

I’m hoping to set a variable on a channel, which I can read back in JSON (ideally) via ‘show channels’.

Using ‘uuid_setvar’ should I be able to affect any of the variables that are show in ‘show channels’?

And if so, is there a way to get them out as JSON?