Getting and setting global variables in asterisk

Hello, we are building an application with asterisk as main engine. Is there a way to get and or set a global variable. Getting and setting variables per channel works. ( Asterisk 16 Channels REST API - Asterisk Project - Asterisk Project Wiki )

We want to use this variable as JSON web token defined globally in the asterisk dial plan.

There is a separate route for global variables[1].

[1] Asterisk 18 Asterisk REST API - Asterisk Project - Asterisk Project Wiki

1 Like

It was getting hot in here, linking asterisk 18. We are using Asterisk certified/16.8-cert7. But that one also has the global variable. https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Asterisk+REST+API

Thanks for the quick response.