[Asterisk-Users] Problems with Ring Detection

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Feb 25 12:53:34 MST 2003


On Tuesday 25 February 2003 11:22, John Lange wrote:
> We have a system with dual X100P cards attached to regular POT
> lines.
>
> About 50% of the time the X100P fails to detect a call on the
> first ring and therefore misses the caller-id information. Is
> there any way to tweak the x100P so it does a better job of
> ring detection?
>
> As a secondary problem, if you call our line, let it ring once
> and then hangup, Asterisk picks up the phone (getting a
> dialtone because there is no call) and leaves the line open
> forever (our dialplan loops on timeout). Is there a way to
> have Asterisk detect a dialtone on an incoming call and hangup
> if it finds one? Or some other solution to this issue?
>
> As a work around I've simply changed the dialplan so it hangs
> up on timeout but that isn't what we really want.

Set an AbsoluteTimeout immediately after Answer'ing the channel.
Just before you go Dial an extension, reset the AbsoluteTimeout
back to 0 (no timeout).  Note that the AbsoluteTimeout timer is
reset EVERY time that you set a new one.

-Tilghman




More information about the asterisk-users mailing list