[Asterisk-cvs] zaptel wctdm.c,1.94,1.95

mattf at lists.digium.com mattf at lists.digium.com
Wed Dec 22 14:35:02 CST 2004


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv26442

Modified Files:
	wctdm.c 
Log Message:
Notify message for ALAW param


Index: wctdm.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wctdm.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- wctdm.c	22 Dec 2004 19:28:54 -0000	1.94
+++ wctdm.c	22 Dec 2004 19:30:45 -0000	1.95
@@ -1759,9 +1759,10 @@
 	/* Zapata stuff */
 	sprintf(wc->span.name, "WCTDM/%d", wc->pos);
 	sprintf(wc->span.desc, "%s Board %d", wc->variety, wc->pos + 1);
-	if (alawoverride)
+	if (alawoverride) {
+		printk("ALAW override parameter detected.  Device will be operating in ALAW\n");
 		wc->span.deflaw = ZT_LAW_ALAW;
-	else
+	} else
 		wc->span.deflaw = ZT_LAW_MULAW;
 	for (x=0;x<wc->cards;x++) {
 		sprintf(wc->chans[x].name, "WCTDM/%d/%d", wc->pos, x);




More information about the svn-commits mailing list