[zaptel-commits] mattf: branch mattf/zaptel-hotwct4xxp r2391 - /team/mattf/zaptel-hotwct4xxp/w...

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Wed Apr 4 14:45:14 MST 2007


Author: mattf
Date: Wed Apr  4 16:45:14 2007
New Revision: 2391

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2391
Log:
Let's fix this the right way

Modified:
    team/mattf/zaptel-hotwct4xxp/wct4xxp/base.c

Modified: team/mattf/zaptel-hotwct4xxp/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/team/mattf/zaptel-hotwct4xxp/wct4xxp/base.c?view=diff&rev=2391&r1=2390&r2=2391
==============================================================================
--- team/mattf/zaptel-hotwct4xxp/wct4xxp/base.c (original)
+++ team/mattf/zaptel-hotwct4xxp/wct4xxp/base.c Wed Apr  4 16:45:14 2007
@@ -176,7 +176,7 @@
 #ifdef VPM_SUPPORT
 static int vpmsupport = 1;
 /* If set to auto, vpmdtmfsupport is enabled for VPM400M and disabled for VPM450M */
-static int vpmdtmfsupport = 1; /* -1=auto, 0=disabled, 1=enabled*/
+static int vpmdtmfsupport = -1; /* -1=auto, 0=disabled, 1=enabled*/
 static int vpmspans = 4;
 #define VPM_DEFAULT_DTMFTHRESHOLD 1000
 static int dtmfthreshold = VPM_DEFAULT_DTMFTHRESHOLD;
@@ -3126,8 +3126,8 @@
 #endif
 
 	if (vpmdtmfsupport == -1) {
-		printk("VPM450: hardware DTMF disabled.\n");
-		vpmdtmfsupport = 0;
+		printk("VPM450: hardware DTMF enabled.\n");
+		vpmdtmfsupport = 1;
 	}
 
 	wc->vpm = T4_VPM_PRESENT;



More information about the zaptel-commits mailing list