Asterisk func set


SET assigns a value to a channel variable




  • Might be useful to assign the value of a complex expression to a variable, while still using that value to evaluate still another expression.

Return value

Returns the value set



Sets variables ${one}, ${two}, ${three}, and ${four} to 0.


Alternates between provider1 and provider2 (for load distribution). Please note that for Asterisk versions before 1.4.37 and as well as 1.8.0 you will most probably have to remove the 0 from the line above (due to an extensions.conf parser fault).

See also

Created by: murf, Last modification: Thu 28 of Oct, 2010 (21:13 UTC) by JustRumours
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+