[Asterisk-cvs] zaptel wcfxs.c,1.78,1.79

markster at lists.digium.com markster at lists.digium.com
Mon Jul 26 15:29:05 CDT 2004


Update of /usr/cvsroot/zaptel
In directory localhost.localdomain:/tmp/cvs-serv6741

Modified Files:
	wcfxs.c 
Log Message:
Enable two wire synthesis with honor mode (bug #2141)


Index: wcfxs.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wcfxs.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- wcfxs.c	25 Jul 2004 21:07:29 -0000	1.78
+++ wcfxs.c	26 Jul 2004 19:15:10 -0000	1.79
@@ -1284,7 +1284,7 @@
     wcfxs_setreg(wc, card, 73, 0x04);
 	if (fxshonormode) {
 		fxsmode = acim2tiss[fxo_modes[_opermode].acim];
-		wcfxs_setreg(wc, card, 10, fxsmode);
+		wcfxs_setreg(wc, card, 10, 0x08 | fxsmode);
 	}
     if (lowpower)
     	wcfxs_setreg(wc, card, 72, 0x10);




More information about the svn-commits mailing list