[Asterisk-Users] Action on phone pickup

Alexander Lopez Alex.Lopez at OpSys.com
Mon Mar 13 08:21:40 MST 2006


You are on the correct path with immediate, and using the s extension.
Place the phone in a context that does the following:

Wait,1
Palyback(hello)
DISA(contezxt for outgoing calls)

This whould do what you want.

 

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Karl O. Pinc
> Sent: Monday, March 13, 2006 1:14 AM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] Action on phone pickup
> 
> How do I get asterisk to do something when I pick up a phone? 
>  For instance, I've got a regular pots phone hooked up to a 
> zaptel interface, and I want it to vocalize "hello" when I 
> pick up the phone and then give me a dial tone, wait for 
> digits, make a call, etc.
> 
> I tried the 's' extension in extensions.conf and setting 'immediate'
> to "yes' in zapata.conf and that didn't seem to work.
> (Not to mention I don't know how to get dial tone and dialing 
> behavior back after an application executes.)
> 
> Anybody got a clue they can slap me with?
> 
> Thanks.
> 
> Asterisk SVN-branch-1.2-r8905
> 
> Karl <kop at meme.com>
> Free Software:  "You don't pay back, you pay forward."
>                   -- Robert A. Heinlein
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> 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