diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-20 21:10:27 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-20 21:10:27 +0000 |
commit | 01e18e19a0305206315360dee517c6eb09f58c8b (patch) | |
tree | ab784859da591996302cae3258a8260f1c0c4017 /apps | |
parent | d22f3aac4d17149eb410d2bcb9e44a3d6b3c1379 (diff) |
Update CDR appropriately when AST_CAUSE_NO_ANSWER is set
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@189465 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dial.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index cbe6b3129..f0907bd4d 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -357,6 +357,9 @@ static void hanguptree(struct dial_localuser *outgoing, struct ast_channel *exce numnochan++; \ break; \ case AST_CAUSE_NO_ANSWER: \ + if (chan->cdr) \ + ast_cdr_noanswer(chan->cdr); \ + break; \ case AST_CAUSE_NORMAL_CLEARING: \ break; \ default: \ |