O'Reilly logo

Asterisk: The Future of Telephony by Leif Madsen, Jared Smith, Jim Van Meggelen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required