<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hmm, it sounds to me the hangup detection problem.
Here's a way to solve that problem:</FONT></DIV>
<DIV><BR><FONT face=Arial size=2>Apply this patch:<BR><BR></FONT><A
href="http://www.maxosystem.net/asterisk/asterisk-stable-polarity-v5.diff"><FONT
face=Arial
size=2>http://www.maxosystem.net/asterisk/asterisk-stable-polarity-v5.diff</FONT></A></DIV><FONT
face=Arial size=2></FONT>
<DIV><BR><FONT face=Arial size=2>$ cd /usr/src/asterisk/channels<BR>$ patch
chan_zap.c < /your/route/here/asterisk-stable-polarity-v5.diff</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and in zapata.conf :</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>answeronpolarityswitch=yes<BR>hanguponpolarityswitch=yes</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV>Sure, it will only help if your PSTN company does hangup detection by
changing polarity of the line, refer to their line specificacions to more
info.</DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hope it helps ;)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "John Heng" <</FONT><A
href="mailto:jheng@pixion.com"><FONT face=Arial
size=2>jheng@pixion.com</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>To: <</FONT><A
href="mailto:asterisk-users@lists.digium.com"><FONT face=Arial
size=2>asterisk-users@lists.digium.com</FONT></A><FONT face=Arial
size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Friday, November 18, 2005 1:56
AM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: [Asterisk-Users] Hung Zap
channels</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial
size=2>Hi all,<BR><BR>I'm running asterisk 1.0.9 (yes I know - 1.2 has just been
released) with a TDM400P board that has 4 FXO port. Once in a while, I've found
that the zap channel will get stuck (or blocked) even after the call has ended.
Sometimes this is when someone has left a voice msg, but not always. <BR><BR>The
way I've fix this is to issue a "soft hangup" command for that zap channel.
However, I'm not always aware of this until a user tells (or complains to) me.
<BR><BR>What I would like to know is if there is a way to reset all the zap
channels or re-initialize the drivers without restarting Asterisk. If so, I
could set up a cron job to do it once or twice a week, in the middle of the
night. Any suggestion guys??<BR><BR>Cheers<BR>J
Heng<BR><BR>_______________________________________________<BR>--Bandwidth and
Colocation sponsored by Easynews.com --<BR><BR>Asterisk-Users mailing
list<BR></FONT><A href="mailto:Asterisk-Users@lists.digium.com"><FONT face=Arial
size=2>Asterisk-Users@lists.digium.com</FONT></A><BR><A
href="http://lists.digium.com/mailman/listinfo/asterisk-users"><FONT face=Arial
size=2>http://lists.digium.com/mailman/listinfo/asterisk-users</FONT></A><BR><FONT
face=Arial size=2>To UNSUBSCRIBE or update options visit:<BR>
</FONT><A href="http://lists.digium.com/mailman/listinfo/asterisk-users"><FONT
face=Arial
size=2>http://lists.digium.com/mailman/listinfo/asterisk-users</FONT></A></BODY></HTML>