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