RE: [Asterisk-Users] FW: channel offhook state
We had the same thing until we started using Voicetronix, it seems that this happens when calls collide i.e... incoming call with an outgoing? We added a script that did a soft hang-up after a call was ended and that seemed to work ok. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 26, 2005 6:12 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] FW: channel offhook state Has anyone else experienced the same problem, where a Zap channel gets stuck in off-hook state? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 1:45 PM To: asterisk-users@lists.digium.com Subject:[Asterisk-Users] FW: channel offhook state -Original Message- From: Jacqueline Lee [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 11:46 AM To: asterisk-users@lists.digium.com Subject:channel offhook state We are using a digium card (TDM400) with asterisk for our access to the PSTN. Initially when the server starts, all the zap channels on the card are in the onhook state. As soon as a channel is used (for inbound or outbound PSTN calls) the corresponding channel goes into offhook state, and stays in offhook state, even after the call ends; Asterisk log shows that the channel was hungup. Most of the time, the channel is still usable to make more PSTN calls, even though it shows in offhook state. Occasionally the channel becomes unusable for making PSTN calls (usually channel 1). The symptom is Asterisk and the client show the PSTN call was established, but the destination PSTN number never really receives the call. Shouldn't the channel go back to onhook state once the call hangs up? Is the persistent offhook state causing the channel to eventually become unusable? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.5/110 - Release Date: 9/22/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.5/110 - Release Date: 9/22/2005 File: ATT00068.txt -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 9/23/2005 File: ATT00158.txt attachment: winmail.dat___ --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] FW: channel offhook state
Has anyone else experienced the same problem, where a Zap channel gets stuck in off-hook state? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 1:45 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] FW: channel offhook state -Original Message- From: Jacqueline Lee [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 11:46 AM To: asterisk-users@lists.digium.com Subject: channel offhook state We are using a digium card (TDM400) with asterisk for our access to the PSTN. Initially when the server starts, all the zap channels on the card are in the onhook state. As soon as a channel is used (for inbound or outbound PSTN calls) the corresponding channel goes into offhook state, and stays in offhook state, even after the call ends; Asterisk log shows that the channel was hungup. Most of the time, the channel is still usable to make more PSTN calls, even though it shows in offhook state. Occasionally the channel becomes unusable for making PSTN calls (usually channel 1). The symptom is Asterisk and the client show the PSTN call was established, but the destination PSTN number never really receives the call. Shouldn't the channel go back to onhook state once the call hangs up? Is the persistent offhook state causing the channel to eventually become unusable? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.5/110 - Release Date: 9/22/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.5/110 - Release Date: 9/22/2005 File: ATT00068.txt -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 9/23/2005 attachment: winmail.dat___ --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] FW: channel offhook state
Hi, Yes, I had the same. Incoming calls were fine it was just when I made outgoing calls the line would sometimes hang and I would get all circuits are busy. Putting a butt (test) phone on the line in parallel indicated the line had dropped back to an on hook state, although asterisk wouldn't use it for some time. 20 mins. In the log it showed an error indicating it could not create a ZAP channel when I tried to create an outbound line. In the end I had to remove the card from the PC, run * without the card and run genzaptelconf to remove the zap-auto entries. I also removed all the outbound routing and removed by 4 ZAP trunks from the configs. I then shutdown the machine and re-installed the card and let * find the hardware and then re-ran genzaptelconf again. Im sure there is another more appropriate solution, but im an * newbie and I was clutching at straws!!! Regards Matt _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacqueline Lee Sent: 26 September 2005 17:12 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] FW: channel offhook state Has anyone else experienced the same problem, where a Zap channel gets stuck in off-hook state? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 1:45 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] FW: channel offhook state -Original Message- From: Jacqueline Lee [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 11:46 AM To: asterisk-users@lists.digium.com Subject: channel offhook state We are using a digium card (TDM400) with asterisk for our access to the PSTN. Initially when the server starts, all the zap channels on the card are in the onhook state. As soon as a channel is used (for inbound or outbound PSTN calls) the corresponding channel goes into offhook state, and stays in offhook state, even after the call ends; Asterisk log shows that the channel was hungup. Most of the time, the channel is still usable to make more PSTN calls, even though it shows in offhook state. Occasionally the channel becomes unusable for making PSTN calls (usually channel 1). The symptom is Asterisk and the client show the PSTN call was established, but the destination PSTN number never really receives the call. Shouldn't the channel go back to onhook state once the call hangs up? Is the persistent offhook state causing the channel to eventually become unusable? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.5/110 - Release Date: 9/22/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.5/110 - Release Date: 9/22/2005 File: ATT00068.txt -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 9/23/2005 File: ATT00080.txt attachment: winmail.dat___ --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] FW: channel offhook state
FWIW, there were a couple of channel zap changes made in the last couple of days to cvs-head. Don't have a clue whether those fixes addressed the problem you're talking about. Has anyone else experienced the same problem, where a Zap channel gets stuck in off-hook state? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 1:45 PM To: asterisk-users@lists.digium.com Subject:[Asterisk-Users] FW: channel offhook state -Original Message- From: Jacqueline Lee [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 11:46 AM To: asterisk-users@lists.digium.com Subject:channel offhook state We are using a digium card (TDM400) with asterisk for our access to the PSTN. Initially when the server starts, all the zap channels on the card are in the onhook state. As soon as a channel is used (for inbound or outbound PSTN calls) the corresponding channel goes into offhook state, and stays in offhook state, even after the call ends; Asterisk log shows that the channel was hungup. Most of the time, the channel is still usable to make more PSTN calls, even though it shows in offhook state. Occasionally the channel becomes unusable for making PSTN calls (usually channel 1). The symptom is Asterisk and the client show the PSTN call was established, but the destination PSTN number never really receives the call. Shouldn't the channel go back to onhook state once the call hangs up? Is the persistent offhook state causing the channel to eventually become unusable? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.5/110 - Release Date: 9/22/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.5/110 - Release Date: 9/22/2005 File: ATT00068.txt -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 9/23/2005 ---End of Original Message- ___ --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] FW: channel offhook state
On Monday 26 September 2005 13:32, Rich Adamson wrote: FWIW, there were a couple of channel zap changes made in the last couple of days to cvs-head. Don't have a clue whether those fixes addressed the problem you're talking about. Don't think so, but they hardlock the kernel with te4xxp cards. :-) -A. ___ --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] FW: channel offhook state
Yes indeed. There have been huge changes to chan_zap.c in CVS-HEAD compared to 1.09. In 1.09 Stable there are a lot of problems with handling call hang-ups. CVS-HEAD, of 28/08 was much better. But even though it did improve things, it wasn't quite right. In particular I found two problems with polarity reversal detection in chan_zap.c for which I have created a patch (this is now in CVS-HEAD). Please see http://bugs.digium.com/view.php?id=5191 for more details. Please note that you'll need to use answeronpolarityswitch=yes and/or hanguponpolarityswitch=yes in your Zapata.conf to make full use of the polarity detection code. You will also need to be very careful if CID is sent on a polarity switch too -- you may need to make it detect on the 0th ring or you could suffer from immediate hang-ups on ring. Unfortunately I've received a problem report with this modification. Any updates Magnus? I'm hoping it is all down to the ring that CID is detected at, and that by changing it to 0 or 1 all will be well again. But anybody who has had problems with hangup detection in the past should try CVS-HEAD and play with the options above to see if it improves things. Having said all this, things are still not perfect: For UK (and possibly other European countries) we still require a way for Asterisk to detect the continuous tone that indicates a remote party hangup on a POTS line. The Sipura 3000 uses this method and I believe it works quite well, though I've not tried it myself. Faris. -Original Message- FWIW, there were a couple of channel zap changes made in the last couple of days to cvs-head. Don't have a clue whether those fixes addressed the problem you're talking about. Has anyone else experienced the same problem, where a Zap channel gets stuck in off-hook state? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 1:45 PM To: asterisk-users@lists.digium.com Subject:[Asterisk-Users] FW: channel offhook state -Original Message- From: Jacqueline Lee [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 11:46 AM To: asterisk-users@lists.digium.com Subject:channel offhook state We are using a digium card (TDM400) with asterisk for our access to the PSTN. Initially when the server starts, all the zap channels on the card are in the onhook state. As soon as a channel is used (for inbound or outbound PSTN calls) the corresponding channel goes into offhook state, and stays in offhook state, even after the call ends; Asterisk log shows that the channel was hungup. Most of the time, the channel is still usable to make more PSTN calls, even though it shows in offhook state. Occasionally the channel becomes unusable for making PSTN calls (usually channel 1). The symptom is Asterisk and the client show the PSTN call was established, but the destination PSTN number never really receives the call. Shouldn't the channel go back to onhook state once the call hangs up? Is the persistent offhook state causing the channel to eventually become unusable? ___ --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