diff --git a/res/res_agi.c b/res/res_agi.c
index d88d5118b9..6f8815d01f 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -323,15 +323,21 @@
Evaluates a channel expression
-
-
+
+
- Returns 0 if variablename is not set
- or channel does not exist. Returns 1 if variablename
- is set and returns the variable in parenthesis. Understands complex variable names and builtin
- variables, unlike GET VARIABLE.
- Example return code: 200 result=1 (testvariable)
+ Evaluates the given expression against the
+ channel specified by channelname, or the current
+ channel if channelname is not provided.
+ Unlike GET VARIABLE, the expression is
+ processed in a manner similar to dialplan evaluation, allowing complex
+ and built-in variables to be accessed, e.g. The time is
+ ${EPOCH}
+ Returns 0 if no channel matching
+ channelname exists, 1
+ otherwise.
+ Example return code: 200 result=1 (The time is 1578493800)
[get variable]