Merged revisions 79044 via svnmerge from
authorSteve Murphy <murf@digium.com>
Fri, 10 Aug 2007 17:48:19 +0000 (17:48 +0000)
committerSteve Murphy <murf@digium.com>
Fri, 10 Aug 2007 17:48:19 +0000 (17:48 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r79044 | murf | 2007-08-10 11:43:49 -0600 (Fri, 10 Aug 2007) | 1 line

This will help debug; from a question asked on #asterisk
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79045 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/cdr.c

index b337ede..042c943 100644 (file)
@@ -757,7 +757,7 @@ int ast_cdr_disposition(struct ast_cdr *cdr, int cause)
                        break;
                default:
                        res = -1;
-                       ast_log(LOG_WARNING, "Cause not handled\n");
+                       ast_log(LOG_WARNING, "Cause (%d) not handled\n", cause);
                }
        }
        return res;