Rodrigo Pimenta Carvalho wrote:
Hi.

In my dial plan I can use the following commands to access and handle
data from the builtin database.

DB DB_DELETE DB_EXISTS DB_KEYS

Equivalents exist for these in the Asterisk Manager Interfaces as actions. An example being DBGet[1] but others also exist. They require no channel to operate on.

From the scope of ARI though you can use the /asterisk/variable resource to GET and POST global variables and dialplan functions[2]. This also requires no channel to operate on. I haven't personally tried it for this use case though.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_DBGet
[2] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Asterisk+REST+API

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to