Skip to content

Setvar

Synopsis

Sets a channel variable or function value.

Description

This command can be used to set the value of channel variables or dialplan functions.

Note

If a channel name is not provided then the variable is considered global.

Syntax

    Action: Setvar
    ActionID: <value>
    Channel: <value>
    Variable: <value>
    Value: <value>
Arguments
  • ActionID - ActionID for this transaction. Will be returned.

  • Channel - Channel to set variable for.

  • Variable - Variable name, function or expression.

  • Value - Variable or function value.

See Also

Generated Version

This documentation was generated from Asterisk branch certified/20.7 using version GIT