On Friday 12 December 2003 22:04, Ulexus wrote: > On Thursday, 13 November, 2003 11:34, Tilghman Lesher wrote: > > On Thursday 13 November 2003 07:31, Marcus Adolfsson wrote: > > > How does a user exit the directory application? > > > > > > Say he can't find the person that he is looking for and wants to > > > return the main menu, how would I configure 0 to act this way? > > > > Just enter a new extension. For example, if you want # to exit the > > Directory application, program the # extension. > > > > exten => #,1,Goto(s,5) > > The directory is generated from the voicemail.conf, so I imagine you > would also have to an entry for extension '#' to voicemail.conf as > well.
Don't imagine. Try it. > This seems like a really cheap (if effective and expedient) way of > doing it. Just a note (and I really should add this to > bugs.digium.com, I suppose), both the Directory and the Voicemail2 > apps have very myopic view of the rest of the dial-plan or even their > current context. Namely, the lack of an escape condition for the > Directory and lack of most any dial-out conditions (i.e., '0' or > another extension number) in Voicemail2. Directory does not need an escape condition. If you fail to enter anything within the allotted time (see ResponseTimeout), you jump to the t extension. > In a production environment, it is far better to take them as a > proof-of-concept/development base and customize them to your overall > setup than to use them out of the box. We use Voicemail() out of the box in multiple production environments. -Tilghman _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
