Re: [asterisk-users] Got event 17 (Polarity Reversal)...
On Mon, 13 Oct 2008, Jorge Mendoza wrote: > Gordon Henderson wrote: >> On Sat, 11 Oct 2008, Jorge Mendoza wrote: >> >>> I founded this behaviour in the past. When the CO provides reversal >>> polarity and the FXO port is configured to ignore polarity events, then >>> a reversal polarity could be detected as ringing if the >>> hardware/software is not well designed or configured. >>> So, if the CO provides polarity reversal, why not set answer and release >>> supervision to yes? >> >> We need the flexability to answer either way... >> >> Here in the UK the (BT) exchange will do a polarity reversal to signal >> incoming CLI - it then send the CLI, *then* sends the ring signals, so >> answering on polarity reversal would be wrong. >> > Answer supervision on reversal polarity applies only to outgoing calls, > not incoming ones. >> They also do a random polarity reversal most nights too - some sort of >> automated line testing. Eg. from my home box: >> >> Oct 7 01:40:28 NOTICE[15581] chan_zap.c: Got event 17 (Polarity Reversal)... >> Oct 9 03:53:06 NOTICE[19904] chan_zap.c: Got event 17 (Polarity Reversal)... >> >> Note the times... >> > Are they just warning alarms or they starts phantom calls? As far as I know, it's BT testing the line - what they actually do, I've no idea. Fortuantely asterisk doesn't think it's an incoming call and ring all the phones.. Gordon ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Got event 17 (Polarity Reversal)...
Gordon Henderson wrote: > On Sat, 11 Oct 2008, Jorge Mendoza wrote: > > >> I founded this behaviour in the past. When the CO provides reversal >> polarity and the FXO port is configured to ignore polarity events, then >> a reversal polarity could be detected as ringing if the >> hardware/software is not well designed or configured. >> So, if the CO provides polarity reversal, why not set answer and release >> supervision to yes? >> > > We need the flexability to answer either way... > > Here in the UK the (BT) exchange will do a polarity reversal to signal > incoming CLI - it then send the CLI, *then* sends the ring signals, so > answering on polarity reversal would be wrong. > Answer supervision on reversal polarity applies only to outgoing calls, not incoming ones. > They also do a random polarity reversal most nights too - some sort of > automated line testing. Eg. from my home box: > > Oct 7 01:40:28 NOTICE[15581] chan_zap.c: Got event 17 (Polarity Reversal)... > Oct 9 03:53:06 NOTICE[19904] chan_zap.c: Got event 17 (Polarity Reversal)... > > Note the times... > Are they just warning alarms or they starts phantom calls? Jorge > Gordon > > >> Jorge Mendoza >> >> >> Jim Duda wrote: >> >>> If by default Asterisk ignores all polarity events, then why >>> does it cause the Dialplan to start? >>> >>> I did set answeronplarityswitch to no, however, I have had >>> the problem occur once already, so, you suspicion might >>> be correct. >>> >>> Jim >>> >>> Tzafrir Cohen wrote: >>> >>> On Fri, Oct 10, 2008 at 05:51:29PM -0400, Jim Duda wrote: > Tzafrir, > > Thanks for the tip. I'm researching answeronpoliaryswitch. I suspect > this will solve my issue. I never would have know to look for this. > > Thanks much! You made my day :-) > > Hmm... I might have misled you. By default Asterisk ignores all polarity events. Using the polarity events can be a useful feature, but I suspect that it is not the cause of your original problem. >>> ___ >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>>http://lists.digium.com/mailman/listinfo/asterisk-users >>> >>> >> ___ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> >> > > ___ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Got event 17 (Polarity Reversal)...
On Sat, 11 Oct 2008, Jorge Mendoza wrote: > I founded this behaviour in the past. When the CO provides reversal > polarity and the FXO port is configured to ignore polarity events, then > a reversal polarity could be detected as ringing if the > hardware/software is not well designed or configured. > So, if the CO provides polarity reversal, why not set answer and release > supervision to yes? We need the flexability to answer either way... Here in the UK the (BT) exchange will do a polarity reversal to signal incoming CLI - it then send the CLI, *then* sends the ring signals, so answering on polarity reversal would be wrong. They also do a random polarity reversal most nights too - some sort of automated line testing. Eg. from my home box: Oct 7 01:40:28 NOTICE[15581] chan_zap.c: Got event 17 (Polarity Reversal)... Oct 9 03:53:06 NOTICE[19904] chan_zap.c: Got event 17 (Polarity Reversal)... Note the times... Gordon > > Jorge Mendoza > > > Jim Duda wrote: >> If by default Asterisk ignores all polarity events, then why >> does it cause the Dialplan to start? >> >> I did set answeronplarityswitch to no, however, I have had >> the problem occur once already, so, you suspicion might >> be correct. >> >> Jim >> >> Tzafrir Cohen wrote: >> >>> On Fri, Oct 10, 2008 at 05:51:29PM -0400, Jim Duda wrote: >>> Tzafrir, Thanks for the tip. I'm researching answeronpoliaryswitch. I suspect this will solve my issue. I never would have know to look for this. Thanks much! You made my day :-) >>> Hmm... I might have misled you. By default Asterisk ignores all polarity >>> events. Using the polarity events can be a useful feature, but I suspect >>> that it is not the cause of your original problem. >>> >>> >> >> >> ___ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >>http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > ___ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Got event 17 (Polarity Reversal)...
I founded this behaviour in the past. When the CO provides reversal polarity and the FXO port is configured to ignore polarity events, then a reversal polarity could be detected as ringing if the hardware/software is not well designed or configured. So, if the CO provides polarity reversal, why not set answer and release supervision to yes? Jorge Mendoza Jim Duda wrote: > If by default Asterisk ignores all polarity events, then why > does it cause the Dialplan to start? > > I did set answeronplarityswitch to no, however, I have had > the problem occur once already, so, you suspicion might > be correct. > > Jim > > Tzafrir Cohen wrote: > >> On Fri, Oct 10, 2008 at 05:51:29PM -0400, Jim Duda wrote: >> >>> Tzafrir, >>> >>> Thanks for the tip. I'm researching answeronpoliaryswitch. I suspect >>> this will solve my issue. I never would have know to look for this. >>> >>> Thanks much! You made my day :-) >>> >> Hmm... I might have misled you. By default Asterisk ignores all polarity >> events. Using the polarity events can be a useful feature, but I suspect >> that it is not the cause of your original problem. >> >> > > > ___ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Got event 17 (Polarity Reversal)...
If by default Asterisk ignores all polarity events, then why does it cause the Dialplan to start? I did set answeronplarityswitch to no, however, I have had the problem occur once already, so, you suspicion might be correct. Jim Tzafrir Cohen wrote: > On Fri, Oct 10, 2008 at 05:51:29PM -0400, Jim Duda wrote: >> Tzafrir, >> >> Thanks for the tip. I'm researching answeronpoliaryswitch. I suspect >> this will solve my issue. I never would have know to look for this. >> >> Thanks much! You made my day :-) > > Hmm... I might have misled you. By default Asterisk ignores all polarity > events. Using the polarity events can be a useful feature, but I suspect > that it is not the cause of your original problem. > ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Got event 17 (Polarity Reversal)...
On Fri, Oct 10, 2008 at 05:51:29PM -0400, Jim Duda wrote: > Tzafrir, > > Thanks for the tip. I'm researching answeronpoliaryswitch. I suspect > this will solve my issue. I never would have know to look for this. > > Thanks much! You made my day :-) Hmm... I might have misled you. By default Asterisk ignores all polarity events. Using the polarity events can be a useful feature, but I suspect that it is not the cause of your original problem. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Got event 17 (Polarity Reversal)...
Tzafrir, Thanks for the tip. I'm researching answeronpoliaryswitch. I suspect this will solve my issue. I never would have know to look for this. Thanks much! You made my day :-) Jim Tzafrir Cohen wrote: > On Fri, Oct 10, 2008 at 12:57:27PM -0400, Jim Duda wrote: >> Can anyone tell me what this message means? >> >> Got event 17 (Polarity Reversal)... >> >> I'm running DAHDI 2.0 with a TDM401 card. Asterisk version 1.6.0. >> >> It appears that I get this Polarity Reversal each time an inbound call >> hangs up. This results in another ring, but no one is there. It appears >> as an unknown caller, but I believe its a phantom. > > grep polarity /etc/asteirsk/chan_dahdi.conf > > See the documentation for answeronpolarityswitch and > hanguponpolarityswitch . > ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Got event 17 (Polarity Reversal)...
Dan Peters wrote: > interesting thing is that we didn't get the calls all the time but when > we did get them they were ALWAYS on the hour or half-hour. > Sounds like it may have been a line test. I vaguely recall a thread going on here about such tests causing issues. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Got event 17 (Polarity Reversal)...
Hi Jim, We had this exact problem with our system for several years. A call would come in with no caller ID and when we answered nobody would be there. On the Asterisk console would be the "Got event 17 (Polarity Reversal)" message. We spent hours and hours on this. Our carrier was AT&T (SBC). I spoke with their tech support several times and spoke with many phone guys. Nobody could solve it. We moved our office to a new location and are now using Comcast VOIP lines into the TDM card and the problem is gone now. It had to be something with the POTS lines we were getting from AT&T. Another interesting thing is that we didn't get the calls all the time but when we did get them they were ALWAYS on the hour or half-hour. Thanks, Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Duda Sent: Friday, October 10, 2008 11:57 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Got event 17 (Polarity Reversal)... Can anyone tell me what this message means? Got event 17 (Polarity Reversal)... I'm running DAHDI 2.0 with a TDM401 card. Asterisk version 1.6.0. It appears that I get this Polarity Reversal each time an inbound call hangs up. This results in another ring, but no one is there. It appears as an unknown caller, but I believe its a phantom. Thanks, Jim [Oct 10 12:47:54] NOTICE[6669]: chan_dahdi.c:7379 mwi_thread: Got event 17 (Polarity Reversal)... Passing along to ss_thread -- Starting simple switch on 'DAHDI/4-1' [Oct 10 12:47:55] NOTICE[6671]: chan_dahdi.c:7114 ss_thread: Got event 4 (Alarm)... [Oct 10 12:47:55] NOTICE[6671]: chan_dahdi.c:7114 ss_thread: Got event 17 (Polarity Reversal)... [Oct 10 12:47:56] NOTICE[6671]: chan_dahdi.c:7114 ss_thread: Got event 5 (No more alarm)... -- Executing [EMAIL PROTECTED]:1] Goto("DAHDI/4-1", "incoming-dial,s,1") in new stack ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Got event 17 (Polarity Reversal)...
>You should not get that message on analog lines in the USA or Canada. I >suspect your line has a provisioning issue or is using different >signaling than you think it is using. Not necessarily true. Most recent solid state switches have abandoned this as a cost saving measure. Polarity reversal was originally done on all loop start and ground start circuits on the calling end when the called party answered. It was used to identify start of call. On a relay based step switch it was fairly easy to do, because the path went through a relay contact that changed at that point anyway, so it was just deliberately wired backwards. It created havoc with early DTMF pads, because they used transistors and needed a known polarity. That was solved by adding a bridge rectifier in the dialpad. Loop and Ground Start trunks can still be ordered with this option because it helps accurately determine start of call for CDR. However, it requires a more expensive line card in the CO, so they don't like to do it. A similar switch when a call is first terminated (sometimes before it rings) can be used to insure that a line is not accidentally picked for an outgoing call by a PBX when a call is coming in on it. Wilton ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Got event 17 (Polarity Reversal)...
On Fri, Oct 10, 2008 at 12:57:27PM -0400, Jim Duda wrote: > Can anyone tell me what this message means? > > Got event 17 (Polarity Reversal)... > > I'm running DAHDI 2.0 with a TDM401 card. Asterisk version 1.6.0. > > It appears that I get this Polarity Reversal each time an inbound call > hangs up. This results in another ring, but no one is there. It appears > as an unknown caller, but I believe its a phantom. grep polarity /etc/asteirsk/chan_dahdi.conf See the documentation for answeronpolarityswitch and hanguponpolarityswitch . -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Got event 17 (Polarity Reversal)...
You should not get that message on analog lines in the USA or Canada. I suspect your line has a provisioning issue or is using different signaling than you think it is using. Jim Duda wrote: > Can anyone tell me what this message means? > > Got event 17 (Polarity Reversal)... > > I'm running DAHDI 2.0 with a TDM401 card. Asterisk version 1.6.0. > > It appears that I get this Polarity Reversal each time an inbound call > hangs up. This results in another ring, but no one is there. It appears > as an unknown caller, but I believe its a phantom. > > Thanks, > > Jim > > [Oct 10 12:47:54] NOTICE[6669]: chan_dahdi.c:7379 mwi_thread: Got event > 17 (Polarity Reversal)... Passing along to ss_thread > -- Starting simple switch on 'DAHDI/4-1' > [Oct 10 12:47:55] NOTICE[6671]: chan_dahdi.c:7114 ss_thread: Got event 4 > (Alarm)... > [Oct 10 12:47:55] NOTICE[6671]: chan_dahdi.c:7114 ss_thread: Got event > 17 (Polarity Reversal)... > [Oct 10 12:47:56] NOTICE[6671]: chan_dahdi.c:7114 ss_thread: Got event 5 > (No more alarm)... > -- Executing [EMAIL PROTECTED]:1] Goto("DAHDI/4-1", "incoming-dial,s,1") > in new stack > > > ___ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > > -- Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, T-1, PRI, Frame Relay, Linux, and network design. Based near Birmingham, AL. Now accepting clients worldwide. http://www.fnords.org/skillslist.html ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Got event 17 (Polarity Reversal)...
Can anyone tell me what this message means? Got event 17 (Polarity Reversal)... I'm running DAHDI 2.0 with a TDM401 card. Asterisk version 1.6.0. It appears that I get this Polarity Reversal each time an inbound call hangs up. This results in another ring, but no one is there. It appears as an unknown caller, but I believe its a phantom. Thanks, Jim [Oct 10 12:47:54] NOTICE[6669]: chan_dahdi.c:7379 mwi_thread: Got event 17 (Polarity Reversal)... Passing along to ss_thread -- Starting simple switch on 'DAHDI/4-1' [Oct 10 12:47:55] NOTICE[6671]: chan_dahdi.c:7114 ss_thread: Got event 4 (Alarm)... [Oct 10 12:47:55] NOTICE[6671]: chan_dahdi.c:7114 ss_thread: Got event 17 (Polarity Reversal)... [Oct 10 12:47:56] NOTICE[6671]: chan_dahdi.c:7114 ss_thread: Got event 5 (No more alarm)... -- Executing [EMAIL PROTECTED]:1] Goto("DAHDI/4-1", "incoming-dial,s,1") in new stack ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users