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 vma@sipsolutions.fr <mailto:vma@sipsolutions.fr> .
On 4 Oct 2017, at 19:42, Rick Jarvis <rick@magicmail.mooo.com <mailto: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?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org