[Asterisk-Users] Detect hangup on unanswered POTS call
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Tue Jun 3 13:18:49 MST 2003
On Tuesday 03 June 2003 12:17, Nathan Lutchansky wrote:
> I've been using * at home for a while now and I'm quite happy with
> how it works. Having voicemail emailed to me and notify my cell
> phone via SMS is a great way to impress my friends. :-) The inbound
> context for my X101P looks something like this:
>
> exten => s,1,Dial(SIP/analog1&SIP/analog2,20)
> exten => s,2,Answer
> exten => s,3,Voicemail(u1234)
> exten => s,4,Hangup
>
> The trouble is, some unknown caller (probably a telemarketer, but I
> have no CID) keeps calling and hanging up after precisely four rings,
> causing * to pick up the line and get a dialtone. It will happily
> play the outbound message, then record 90 seconds of dialtone and
> hang-up-the-damn-phone noise.
>
> What are my options for fixing this?
Personally, I set an AbsoluteTimeout before Answer'ing the line, and I
*require* some keypress before I move a call into Voicemail. Other than
that, the ResponseTimeout loops the user back to the greeting, until the
AbsoluteTimeout shuts the call down.
-Tilghman
More information about the asterisk-users
mailing list