summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_disa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_disa.c b/apps/app_disa.c
index a2e738ab7..372bcca7a 100755
--- a/apps/app_disa.c
+++ b/apps/app_disa.c
@@ -330,7 +330,7 @@ static int disa_exec(struct ast_channel *chan, void *data)
strncpy(chan->context, ourcontext, sizeof(chan->context) - 1);
strncpy(chan->accountcode, acctcode, sizeof(chan->accountcode) - 1);
chan->priority = 0;
- ast_cdr_init(chan->cdr,chan);
+ ast_cdr_reset(chan->cdr,AST_CDR_FLAG_POSTED);
LOCAL_USER_REMOVE(u);
return 0;
}