Click or drag to resize
GetFullVariableCommand Class
Returns the value of the given channel varible and understands complex variable names and builtin variables, unlike the GetVariableCommand.
You can also use this command to use custom Asterisk functions. Syntax is "func(args)".
Returns 0 if the variable is not set or channel does not exist. Returns 1 if the variable is set and returns the variable in parenthesis.
Example return code: 200 result=1 (testvariable) Available since Asterisk 1.2
Inheritance Hierarchy
SystemObject
  AsterNET.FastAGI.CommandAGICommand
    AsterNET.FastAGI.CommandGetFullVariableCommand

Namespace: AsterNET.FastAGI.Command
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class GetFullVariableCommand : AGICommand

The GetFullVariableCommand type exposes the following members.

Constructors
  NameDescription
Public methodGetFullVariableCommand(String)
Creates a new GetFullVariableCommand.
Public methodGetFullVariableCommand(String, String)
Creates a new GetFullVariableCommand.
Top
Methods
  NameDescription
Public methodBuildCommand (Overrides AGICommandBuildCommand.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodEscapeAndQuote (Inherited from AGICommand.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Inherited from AGICommand.)
Top
Properties
  NameDescription
Public propertyChannel
Get/Set the name of the channel.
Public propertyVariable
Get/Set the name of the variable to retrieve.
Top
See Also