Asterisk Manager API Action SetVar

Action: Setvar
Parameters: Channel, Variable, Value

Here's an example of how it would be used:

Action: Login
Username: exampleuser
Secret: examplepass

Action: Setvar
Channel: Zap/1-1
Variable: AtestVariable
Value: This is now set
Action: Setvar
Parameters: Channel, Variable, Value

Here's an example of how it would be used:

Action: Login
Username: exampleuser
Secret: examplepass

Action: Setvar
Channel: Zap/1-1
Variable: AtestVariable
Value: This is now set
Created by: flobi, Last modification: Tue 13 of Sep, 2011 (12:33 UTC) by jpawlak
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+