That worked. I had tried setting immediate with some other settings but I guess never to 'yes'.
Thanks Tilghman. Don Pobanz On Tuesday, March 18, 2003 9:55 AM, Tilghman Lesher [SMTP:[EMAIL PROTECTED] wrote: > On Tuesday 18 March 2003 09:04, Don Pobanz wrote: > > We have need of a ringdown circuit in an elevator. If someone > > picks up the phone, it should dial another extension without > > any keys being pressed. (There are no keys on the phone) > > > > If it was an incoming call to asterisk, the following lines in > > extensions.conf would do the trick. > > exten => s,1,Answer > > exten => s,2,Dial,Zap/10 > > > > However, the 's' state is not valid for just picking up a > > phone (extension). With nothing being dialed there are no > > extension matches to make. It is like the dial tone needs to > > time out in a very short time and instead of getting the busy > > tone, asterisk should dial an extension. > > > > Anyway, I have not figured it out. Suggestions? > > Put that channel into a different context in zapata.conf, where > immediate=yes (i.e. don't provide dialtone), then set up the > context with extension s, as you specified above. > > -Tilghman > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
