[Asterisk-Users] Qs about FXO/FXS cards

Richard Scobie r.scobie at clear.net.nz
Sun Jan 2 15:02:47 MST 2005



Rich Adamson wrote:

> 
> Have you noticed that a TDM with fxo modules is more/less stable then
> a TDM with only fxs modules?
> 
> Gut feeling (no reasonable analysis at all) from various postings tend
> to suggest the TDM with fxo's is less stable. Would you agree or not?

Yes.

> Also, could you share the driver mod?

It is a simple one liner.

Index: wctdm.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wctdm.c,v
retrieving revision 1.90
diff -u -r1.90 wctdm.c
--- wctdm.c     9 Nov 2004 14:45:20 -0000       1.90
+++ wctdm.c     29 Nov 2004 15:35:46 -0000
@@ -1387,6 +1387,7 @@
  #endif
         signed char b;
         int poopy = 0;
+       reset_spi(wc,card);
         /* Try to track issues that plague slot one FXO's */
         b = wctdm_getreg(wc, card, 5);
         if ((b & 0x2) || !(b & 0x8)) {


Since adding it, I have not had any problems, but it will take another 
couple of months before I know if it has had any effect.

Regards,

Richard



More information about the asterisk-users mailing list