Asterisk Project : Asterisk 13 Asterisk REST API

Asterisk

Method

Path

Return Model

Summary

GET

/asterisk/info

AsteriskInfo

Gets Asterisk system information.

GET

/asterisk/variable

Variable

Get the value of a global variable.

POST

/asterisk/variable

void

Set the value of a global variable.

GET /asterisk/info

Gets Asterisk system information.

Query parameters

  • only: string - Filter information returned
    • Allows comma separated values.

GET /asterisk/variable

Get the value of a global variable.

Query parameters

  • variable: string - (required) The variable to get

Error Responses

  • 400 - Missing variable parameter.

POST /asterisk/variable

Set the value of a global variable.

Query parameters

  • variable: string - (required) The variable to set
  • value: string - The value to set the variable to

Error Responses

  • 400 - Missing variable parameter.