diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-07 04:10:41 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-07 04:10:41 +0000 |
commit | cf0c3725e25d17b45115245540e799ae5632d760 (patch) | |
tree | 393eb712afe983fc00227bd687729bad621febcc /apps | |
parent | 63348802e663c36014bdf5eb4a725f1b99c13574 (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')
-rwxr-xr-x | apps/app_disa.c | 3 |
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; |