aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_disa.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-15 20:29:31 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-15 20:29:31 +0000
commit4834419aa805a1c38b26f4c60adca0dfcc400b78 (patch)
treef0bb9c9063b76fb1e8a46650deac5b941bc2ca0e /apps/app_disa.c
parentbbfd86d5f2480aad7a7433ed9c43d03f3244e037 (diff)
DISA fix, makefile fix (bug #3049)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4461 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_disa.c')
-rwxr-xr-xapps/app_disa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_disa.c b/apps/app_disa.c
index 3413d6efd..7519c1213 100755
--- a/apps/app_disa.c
+++ b/apps/app_disa.c
@@ -23,6 +23,7 @@
#include <asterisk/module.h>
#include <asterisk/translate.h>
#include <asterisk/ulaw.h>
+#include <asterisk/callerid.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
@@ -114,7 +115,7 @@ static int disa_exec(struct ast_channel *chan, void *data)
int digittimeout = 10000;
struct localuser *u;
char tmp[256],arg2[256]="",exten[AST_MAX_EXTENSION],acctcode[20]="";
- char *ourcontext,*ourcallerid,*ourcidname,*ourcidnum,*mailbox;
+ char *ourcontext,*ourcallerid,ourcidname[256],ourcidnum[256],*mailbox;
struct ast_frame *f;
struct timeval lastout, now, lastdigittime;
int res;