[Asterisk-Users] Re: Line death not recognized on TDM400P?

Jinsong Liao liaojinsong at gmail.com
Fri Sep 10 16:36:17 MST 2004


Just tried the latest CVS version with "#define ZAP_CHECK_HOOKSTATE"
in chan_zap.c.  I am using a TDM400P with 4 FXO modules.  Only port 1
is connected to a phone line.

When * starts, I cannot make any outgoing call.  All 4 Zap channels
are unavailable.  "zap show channel 1" indicated "Actual Hook State:
Onhook" just like "zap show channel 2 (or 3, 4)" , even though channel
1 is the one with battery.

If I unplug the RJ11 cable and then plug it back in, or if I make an
incoming call then hang up, "zap show channel 1" will indicate "Actual
Hook State: Offhook".  After this I can make outgoing calls as Zap/1-1
is now available.

Is there anyway to make * correctly recognize the hook state upon
startup?  Thanks in advance.

> > How's this for service!!!!
> > 
> > 
> > ===============================================
> > 09-02-04 14:00  ZX81  New Bug   
> > 09-02-04 15:04  markster  Bugnote Added: 0013839   
> > 09-02-04 15:04  markster  Assigned To   => markster  
> > 09-02-04 15:04  markster  Resolution  open => fixed  
> > 09-02-04 15:04  markster  Status  new => resolved  
> > ===============================================
> > 
> > And:
> > 
> > ===============================================
> > Update of /usr/cvsroot/asterisk/channels
> > In directory mongoose.digium.com:/tmp/cvs-serv14053/channels
> > 
> > Modified Files:
> >  chan_zap.c 
> > Log Message:
> > Don't use FXO's with no battery (bug #2359)
> > ===============================================
> > 
> > Amazing!  That's great!  My customer will be really happy!
> > 
> > Mark thanks for this.
> 
> That sounds excellent! But, the comments within the code imply the
> change is for T1 interfaces only (maybe not the TDM card?). 
> 
> Just sent a note off to Mark asking for clearification as to which
> interfaces it actually applies to.
> 
> Rich



More information about the asterisk-users mailing list