[Home]

Summary:ASTERISK-01874: tdm fxo senses pstn line disturbances as ringing
Reporter:radamson (radamson)Labels:
Date Opened:2004-06-23 10:40:19Date Closed:2008-06-07 10:42:44
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:any disturbance on pstn line is interpreted as ringing, and * processes that via associated dialplan entries. Sip phone will ring twice, callerid always "asterisk", and then hangs up without anyone touching anything. No other calls in progress within *. Happens on all 4 fxo modules.

****** ADDITIONAL INFORMATION ******

Can be reproduced about 50% of the time by simply bridging an analog phone on the pstn line, lifting the receiver and replacing it. Also, if the analog phone actually conducted a lengthy phone conversation, the hang up of the analog phone will cause the same. In rare cases, loud speech on a bridged analog phone will cause * to believe the pstn line is ringing. RHv9 CVS-HEAD-06/17/04
zapata.conf key entries:
signalling=fxs_ks
echotraining=yes
usecallerid=yes
hidecallerid=no
callwaitingcallerid=no
echocancel=yes
echocancelwhenbridged=yes
immediate=no
callprogress=no
; rxgain=0.0
; txgain=-0.0
In wcfxs.c, changing:
 if (wc->mod.fxo.ringdebounce[card] >= ZT_CHUNKSIZE * 32)
lines from "32" to "64" seems to correct the issue, however I'm not a programmer. Others on the asterisk-user list have discussed this same problem. Changing rxgain/txgain does not seem to impact the problem without seriously impacting the ability to use the pstn line (nor does commenting them out as shown above).
Comments:By: Mark Spencer (markster) 2004-06-23 14:05:15

64 is still a very reasonable ringer debounce.  I've updated it in CVS.

By: Digium Subversion (svnbot) 2008-06-07 10:42:44

Repository: dahdi
Revision: 419

U   trunk/wcfxs.c
U   trunk/wctdm.c

------------------------------------------------------------------------
r419 | markster | 2008-06-07 10:42:43 -0500 (Sat, 07 Jun 2008) | 2 lines

Increase ring debounce (bug ASTERISK-1874)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=419