I am using Asterisk 1.2. I created an IVR menu. One of the options takess me to the dial by name directory. I would like to give the caller an option to exit from dial by name directory and bring the caller back to IVR menu. Is there a way to do this? I believe it is only possible if the phone directory application has an exit option, it not, then of course it will not work.
[Synopsis]
Provide directory of voicemail extensions
[Description]
Directory(vm-context[|dial-context[|options]]): This application will present
the calling channel with a directory of extensions from which they can search
by name. The list of names and corresponding extensions is retrieved from the
voicemail configuration file, voicemail.conf.
This application will immediately exit if one of the following DTMF digits are
received and the extension to jump to exists:
0 - Jump to the ‘o’ extension, if it exists.
* - Jump to the ‘a’ extension, if it exists.
Parameters:
vm-context - This is the context within voicemail.conf to use for the
Directory.
dial-context - This is the dialplan context to use when looking for an
extension that the user has selected, or when jumping to the
’o’ or ‘a’ extension.
Options:
f - Allow the caller to enter the first name of a user in the directory
instead of using the last name.
[/code]
So from this I would say that the * or 0 option is what you want.