[asterisk-dev] How can I see the dubug messages in the vpm450.c

Tomsvolta tgh1144 at hotmail.com
Mon Dec 20 08:27:32 UTC 2010

      Thank you for the reply! I can see some debug message such as:
         "echocan: Card is 0, Channel is 8, Span is 0, offset is 32 length 0
           Echo can on channel 32 set to 3
           Unassigning channel 0/8!
           Unassigning channel 0/8!   "
       How can I enable the other debug messages?


Date: Fri, 17 Dec 2010 09:26:43 -0600
From: nyphbl8d at gmail.com
To: asterisk-dev at lists.digium.com
Subject: Re: [asterisk-dev] How can I see the dubug messages in the vpm450.c

2010/12/17 Tomsvolta <tgh1144 at hotmail.com>

Hi all,
        How can I see the dubug messages in the vpm450.c? I have a E1 card with hardware echocanceller, and I want to see if the hardware echocanceller working in the asterisk CLI, I see there're debug messages in the vpm450.c, but I can't see them. I also try add "#define OCTASIC_DEBUG" and "#include <linux/kernel.h> " in the vpm450.h, but it dosn't work, can you help me! Sorry for my bad English!

Since the file you're referring to is in DAHDI, any debug messages will go to the kernel log.  You will not be able to see those messages in the Asterisk CLI.  One way to check that the echocan is working is by checking the appropriate entry in /proc/dahdi.  Another way to check is "dahdi show channel #" in the Asterisk CLI.  IIRC, it tells you if the echocan is active or not, but not which one is active.

-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20101220/1924d37a/attachment.htm>

More information about the asterisk-dev mailing list