[asterisk-dev] Problem with phantom rings....
Eric "ManxPower" Wieling
eric at fnords.org
Mon Mar 26 06:31:03 MST 2007
Mike Jagdis wrote:
> On Mon, Mar 26, 2007 at 11:22:35AM +0300, Marius Stankevičius wrote:
>> A problem is noisy line.... every 2-5 minutes (even if there was no previous
>> activity) I get noise that registers as an incoming call on CO line. If the
>> call gets picked up it gives dialtone (Digium TDM400P card with 4 FXO
>> ports). It _is not_ voicemail. Caller ID set to yes and it is not a polarity
>> issue (turned that off)
>
> If it's that bad and it's unfixable by your provider (a) I hope you're
> not paying them and (b) the problem is the ring detection at the
> driver/hardware level.
>
> The hardware ring detection is tunable to some extent, but I really
> couldn't say in what way (although the "how" is just tweak some
> registers).
>
> Fortunately wctdm.c also has an alternate, driver level ring detection
> routine. Try uncommenting AUDIO_RINGCHECK near the top of wctdm.c.
> You may also need to tweak MINPEGTIME, PEGTIME and PEGCOUNT further
> down. (Note: the AUDIO_RINGCHECK code may not be as well tested...)
pbx-1*CLI> show applications like ring
-= Matching Asterisk Applications =-
Ringing: Indicate ringing tone
WaitForRing: Wait for Ring Application
pbx-1*CLI> show application waitforring
-= Info about application 'WaitForRing' =-
[Synopsis]
Wait for Ring Application
[Description]
WaitForRing(timeout)
Returns 0 after waiting at least timeout seconds. and
only after the next ring has completed. Returns 0 on
success or -1 on hangup
More information about the asterisk-dev
mailing list