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
