summaryrefslogtreecommitdiff
path: root/main/cdr.c
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2008-11-25 23:03:01 +0000
committerSteve Murphy <murf@digium.com>2008-11-25 23:03:01 +0000
commitc5e64b2ac419ebec6b2ca08069018709ea6936f0 (patch)
treec131e0075438ab1e2e050cc223b6073cad1ed9ba /main/cdr.c
parentbb80c835e0caaff46cffb00cf2aa9e3a4db98578 (diff)
Merged revisions 159316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r159316 | murf | 2008-11-25 15:41:10 -0700 (Tue, 25 Nov 2008) | 15 lines (closes issue #12694) Reported by: yraber Patches: 12694.2nd.diff uploaded by murf (license 17) Tested by: murf, laurav Thanks to file (Joshua Colp) for his IAX fix. the change to cdr.c allows no-answer to percolate up into CDR's, and feels like the right place to locate this fix; if BUSY is done here, no-answer should be, too. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@159360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/cdr.c')
-rw-r--r--main/cdr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/cdr.c b/main/cdr.c
index e4d5f759d..f48ddf38d 100644
--- a/main/cdr.c
+++ b/main/cdr.c
@@ -754,6 +754,9 @@ int ast_cdr_disposition(struct ast_cdr *cdr, int cause)
case AST_CAUSE_BUSY:
ast_cdr_busy(cdr);
break;
+ case AST_CAUSE_NO_ANSWER:
+ ast_cdr_noanswer(cdr);
+ break;
case AST_CAUSE_NORMAL:
break;
default: