aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_agi.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-14 14:39:52 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-14 14:39:52 +0000
commit565a37f210bd5749b7fbe540a3ec3c427a6847af (patch)
tree35a184d6178c9efc4e234f37823a1157cb573f05 /apps/app_agi.c
parentf0ceb7803aaf16f73824871c18393f0f4d79e62b (diff)
Minor AGI patch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1182 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_agi.c')
-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");
}