aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_disa.c
diff options
context:
space:
mode:
authorjim <jim@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-09 22:39:14 +0000
committerjim <jim@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-09 22:39:14 +0000
commit2795ea48a5f7b4208f67459df0577224f787339d (patch)
treeb4d0d63b4901126bc53ced3a093084894255b389 /apps/app_disa.c
parentfcec8c9fb4dd0bbec896104cd430b035c9bf8bd2 (diff)
Fixed call parking, added separate paramater to allow/disallow call parking on
Zaptel interfaces (canpark=yes/no in zapata.conf), added urlbase paramater to Monitor so that a url can optionally be included in CDR (user field), cleaned up a couple of minor things git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4413 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_disa.c')
-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;
}