[Freeswitch-users] Setting vars

Rick Jarvis rick at magicmail.mooo.com
Thu Oct 5 08:54:59 UTC 2017


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 at 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 at sipsolutions.fr <mailto:vma at sipsolutions.fr>
> .
> 
>> On 4 Oct 2017, at 19:42, Rick Jarvis <rick at magicmail.mooo.com <mailto:rick at 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 at freeswitch.org <mailto:consulting at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171005/bb98ba77/attachment-0001.html>


More information about the FreeSWITCH-users mailing list