<html><div style='background-color:'><DIV class=RTE>
<P><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">From: <I>Lee Jenkins <lee@datatrakpos.com></I><BR>>> [...]<BR>>>If I call out to a party on that Zap line and hangup first, I do <BR>>>not experience that problem. It looks like Asterisk is not getting <BR>>>the termination signal from the telco (Verizon) when the other <BR>>>party hangs up first.<BR>>><BR>>>Running show channels at any time after the call is disconnected <BR>>>(by either party) shows 0 active calls/channels.<BR>>> [...]<BR>>I've been working on getting this card to work correctly just about <BR>>all day and while I'm certainly no expert, I just not sure it's a <BR>>problem with asterisk holding the line open as others have <BR>>suggested.<BR>><BR>>My reasoning follows and please let me know if I'm off base
here.<BR>><BR>>1. Attempt to dial out on zap line. CLI says it's dialing but <BR>>nothing happens and after a while the phone company comes back with <BR>>"if you'd like to make a call, please hangup and try again" followed <BR>>by congestion.<BR>><BR>>2. Repeat attempting to dial out as many times as I like and get the <BR>>same result maybe every time and then out of the blue, bang! it goes <BR>>through usually just once. Very random and rarely can I make two <BR>>calls in a row. If one does in fact go through, the zap line is <BR>>screwed up for a while after that regardless if I hang up or the <BR>>other part hangs up.<BR>><BR>>3. During the periods when I cannot dial out of the zap line, I can <BR>>actually dial into that same line from my cell phone any time I <BR>>like. Call after call, it goes
through when dialing into the system. <BR>> Then I will attempt to dial out and same problem occurs: the zap <BR>>line appears to dial out but nothing actually happens.<BR>><BR>>My point is that if Asterisk really did have the line stuck open, I <BR>>wouldn't be able to dial in on that same line, right? But I can, <BR>>time after time, but dialing out is almost always a no go.<BR></FONT><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif"></FONT></P>
<P><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">This must be correct. Additionally, you cannot send an off-hook signal to CO if the line is already open, thus you will not be hearing CO announcing "if you'd like to make a call". Telco will also drop your line dead if you are off-hook idle for too long. So I'd suspect that Asterisk isn't dialing. However, this would not explain why this only happens when the other side hang up first. May be try insert ChanIsReady() before dial, just to test out?</FONT></P>
<P>There are some electrical tests you can do to determine line status when Asterisk got stuck. Line DC voltage is a sure indication of whether your FXO is on-hook or off-hook.</P>
<P><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">Yuan Liu</P></DIV>
<P style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px">>Am I off base?<BR>><BR>>--<BR>><BR>>Warm Regards,<BR>><BR>>Lee<BR></P></FONT></div></html>