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

Modified Files:
        wctdm.c 
Log Message:
fix breakage from last commit (wasn't checking properly for MOD_TYPE_FXS)


Index: wctdm.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wctdm.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- wctdm.c     20 Jul 2005 13:05:47 -0000      1.118
+++ wctdm.c     20 Jul 2005 14:12:24 -0000      1.119
@@ -1794,7 +1794,7 @@
 #else
        module_put(THIS_MODULE);
 #endif
-       if (wc->modtype[chan->chanpos - 1])
+       if (wc->modtype[chan->chanpos - 1] == MOD_TYPE_FXS)
                wc->mod.fxs.idletxhookstate[chan->chanpos -  1] = 1;
 
        /* If we're dead, release us now */

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to