Name

GET VARIABLE

Synopsis

GET VARIABLE variablename

If the variable is set, returns its value in parentheses. This command does not understand complex variables or built-in variables; use the GET FULL VARIABLE command if your application requires these types of variables.

Return values:

0

No channel, or variable not set

1 ( value )

Value is retrieved (and is included in parentheses)

Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.