summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapps/app_agi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_agi.c b/apps/app_agi.c
index 1208a1bfb..f03b8e9c0 100755
--- a/apps/app_agi.c
+++ b/apps/app_agi.c
@@ -193,6 +193,9 @@ static void setup_env(struct ast_channel *chan, char *request, int fd, int enhan
fdprintf(fd, "agi_priority: %d\n", chan->priority);
fdprintf(fd, "agi_enhanced: %s\n", enhanced ? "1.0" : "0.0");
+ /* User information */
+ fdprintf(fd, "agi_accountcode: %s\n", chan->accountcode ? chan->accountcode : "");
+
/* End with empty return */
fdprintf(fd, "\n");
}