Re: [Asterisk-Users] Hung Zap channels
Hmm, it sounds to me the hangup detection problem. Here's a way to solve that problem: Apply this patch:http://www.maxosystem.net/asterisk/asterisk-stable-polarity-v5.diff $ cd /usr/src/asterisk/channels$ patch chan_zap.c < /your/route/here/asterisk-stable-polarity-v5.diff and in zapata.conf : answeronpolarityswitch=yeshanguponpolarityswitch=yes 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. Hope it helps ;) - Original Message - From: "John Heng" <[EMAIL PROTECTED]> To: <asterisk-users@lists.digium.com> Sent: Friday, November 18, 2005 1:56 AM Subject: [Asterisk-Users] Hung Zap channels Hi all,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. 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. 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??CheersJ Heng___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Hung Zap channels
Original Message From: "John Heng" <[EMAIL PROTECTED]> To: Sent: Friday, November 18, 2005 1:56 AM Subject: [Asterisk-Users] Hung Zap channels Hi all, Once in a while, I've found that the zap channel will get stuck (or blocked) even after the call has ended. 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. 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?? To have a channel blocked for ½-1 week would not be good, I think... Can you determine in a script if a channel is hung? Then do a soft hangup on it. Run this in cron. Or regularly do a soft hangup on any channel which haven't had activity in x minutes. But the best solution is naturally to determine why the channel hangs and fix the problem. Leif Cheers J Heng ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Hung Zap channels
Hi all, 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. 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. 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?? Cheers J Heng ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users