diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-14 14:39:52 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-14 14:39:52 +0000 |
commit | 565a37f210bd5749b7fbe540a3ec3c427a6847af (patch) | |
tree | 35a184d6178c9efc4e234f37823a1157cb573f05 /apps/app_agi.c | |
parent | f0ceb7803aaf16f73824871c18393f0f4d79e62b (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-x | apps/app_agi.c | 3 |
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"); } |