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: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Karl O. Pinc
> Sent: Monday, March 13, 2006 1:14 AM
> To: [email protected]
> 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 <[EMAIL PROTECTED]>
> 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
> 
_______________________________________________
--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

Reply via email to