[asterisk-users] Asterisk as answering machine

Eric Wieling EWieling at nyigc.com
Wed Jan 2 14:38:06 CST 2013


I recommend using WaitForRing instead of Wait.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Nicholas
Sent: Wednesday, January 02, 2013 3:33 PM
To: rwheeler at artifact-software.com; 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Asterisk as answering machine

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ron Wheeler
Sent: Wednesday, January 02, 2013 2:31 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Asterisk as answering machine

I have connected a PSTN line to a Digium FXO card.
There is also an ordinary analogue phone attached to the same line.

The Asterisk answers the line on the first ring.

I would like it to wait for a few seconds so that someone can answer the PSTN line with an analogue phone.
This would allow a person to directly pick up the line if they wanted to or if not, let it go to the Asterisk where it would be dispatched through the normal process.

Currently, as soon as the analogue phone rings, the Asterisk PBX has already answered the call and starts the "You have reached..... Dial ...." and tries to dispatch the call.

This makes it hard to carry on a conversation.

Ron

In your dialplan, put Wait(10) in front of Answer().  This will give the human 4 rings to pick up before Asterisk does.



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list