From: Russell Bryant Date: Sat, 2 Oct 2004 00:12:20 +0000 (+0000) Subject: Use event2str consisitently in chan_zap anytime we are printing debug info about... X-Git-Tag: 1.0.11.1~461 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f9482f7bc25503cc87fdaedc969929d69080cd6;p=thirdparty%2Fasterisk.git Use event2str consisitently in chan_zap anytime we are printing debug info about an event (bug 2548) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3873 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index b4149cfc90..925b62f44f 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -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);