aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_disa.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-07 04:10:41 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-07 04:10:41 +0000
commitcf0c3725e25d17b45115245540e799ae5632d760 (patch)
tree393eb712afe983fc00227bd687729bad621febcc /apps/app_disa.c
parent63348802e663c36014bdf5eb4a725f1b99c13574 (diff)
user correct arguments to ast_cdr_reset from my changes earlier today
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6990 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 5038e907a..7cd9db8bb 100755
--- a/apps/app_disa.c
+++ b/apps/app_disa.c
@@ -338,6 +338,7 @@ static int disa_exec(struct ast_channel *chan, void *data)
if (k == 3) {
int recheck = 0;
+ struct ast_flags flags = { AST_CDR_FLAG_POSTED };
if (!ast_exists_extension(chan, ourcontext, exten, 1, chan->cid.cid_num)) {
pbx_builtin_setvar_helper(chan, "INVALID_EXTEN", exten);
@@ -357,7 +358,7 @@ static int disa_exec(struct ast_channel *chan, void *data)
if (!ast_strlen_zero(acctcode))
ast_copy_string(chan->accountcode, acctcode, sizeof(chan->accountcode));
- ast_cdr_reset(chan->cdr, AST_CDR_FLAG_POSTED);
+ ast_cdr_reset(chan->cdr, &flags);
ast_explicit_goto(chan, ourcontext, exten, 1);
LOCAL_USER_REMOVE(u);
return 0;