]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Use event2str consisitently in chan_zap anytime we are printing debug info about...
authorRussell Bryant <russell@russellbryant.com>
Sat, 2 Oct 2004 00:12:20 +0000 (00:12 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 2 Oct 2004 00:12:20 +0000 (00:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3873 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index b4149cfc900722a35ab1ce9878a624987c8d5c5c..925b62f44f9ab345cbf62574b63adbd4cc32fac7 100755 (executable)
@@ -7355,7 +7355,7 @@ static void *pri_dchannel(void *vpri)
                                        x = 0;
                                        res = ioctl(pri->fds[which], ZT_GETEVENT, &x);
                                        if (x) 
-                                               ast_log(LOG_NOTICE, "PRI got event: %d on %s D-channel of span %d\n", x, pri_order(which), pri->span);
+                                               ast_log(LOG_NOTICE, "PRI got event: %s (%d) on %s D-channel of span %d\n", event2str(x), x, pri_order(which), pri->span);       
                                        /* Keep track of alarm state */ 
                                        if (x == ZT_EVENT_ALARM) {
                                                pri->dchanavail[which] &= ~(DCHAN_NOTINALARM | DCHAN_UP);