From 523d570e2d35645d68f57c9cb7729ed209247a99 Mon Sep 17 00:00:00 2001 From: MelwareDE Date: Wed, 20 Feb 2008 11:02:09 +0000 Subject: [PATCH] Added additional debug output for capi header. --- chan_capi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chan_capi.c b/chan_capi.c index 14cabda..da67d34 100644 --- a/chan_capi.c +++ b/chan_capi.c @@ -3955,8 +3955,12 @@ static void capidev_handle_msg(_cmsg *CMSG) if ((wCmd == CAPI_P_IND(DATA_B3)) || (wCmd == CAPI_P_CONF(DATA_B3))) { + cc_verbose(7, 1, "CAPI: ApplId=0x%04x Command=0x%02x SubCommand=0x%02x MsgNum=0x%04x NCCI=0x%08x\n", + CMSG->ApplId, CMSG->Command, CMSG->Subcommand, CMSG->Messagenumber, CMSG->adr.adrNCCI); cc_verbose(7, 1, "%s\n", capi_cmsg2str(CMSG)); } else { + cc_verbose(4, 1, "CAPI: ApplId=0x%04x Command=0x%02x SubCommand=0x%02x MsgNum=0x%04x NCCI=0x%08x\n", + CMSG->ApplId, CMSG->Command, CMSG->Subcommand, CMSG->Messagenumber, CMSG->adr.adrNCCI); cc_verbose(4, 1, "%s\n", capi_cmsg2str(CMSG)); }