On Wed, Aug 17, 2011 at 10:51:48AM +0530, DHAVAL INDRODIYA wrote: > Hi Russ, > > I have tried given patch and successfully compiled dahdi_pcap but when i try > to run below command it gives me error. > > *./dahdi_pcap lapd 16 test.pcap * > > error setting channel err=-1! > error setting channel err=-1! > error setting channel err=-1! > error setting channel err=-1! > Segmentation fault > > I have TE112 Card configured on my machine. > > Regards > Dhaval
1) Try ./dahdi_pcap -p lapd 16 test.pcap but i'll assume that's a typo 2) Make sure you #define CONFIG_DAHDI_MIRROR in drivers/dahdi/dahdi-base.c That's an error I might expect to see if the DAHDI_RXMIRROR or DAHDI_TXMIRROR ioctl's weren't enabled. -- Russ Meyerriecks Digium, Inc. | Linux Kernel Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA direct: +1 256-428-6025 Check us out at: www.digium.com & www.asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
