On Wed, 20 Jul 2005, Ed Greenberg wrote: > I'd like to write a snippet of dialtone that plays dialtone and collects a > specific number of digits into a variable. > > Sort of like READ but with a generated dialtone. > > Naturally, I want the dialtone to stop playing after the first digit. > > I can't find this anywhere. > > Only thing I can think of is a no-password DISA. Is this the correct > method? Is there a better one?
DISA would proably work, though it may be a hassle since the call will be sent into the disa context. Another option is to use READ with a filecontaining a recording of the dialtone. Peter _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users