We have talked about how to create contexts, extensions, and how to make our system powerful. Some of the ideas we have discussed will be useful in some situations, yet not applicable in others. All of them work together to make Asterisk a flexible solution for many different needs. There are still other uses that we won't get into, as the need for them is less frequent.
There are some basic system services that we have not yet discussed. In Chapter 4, we configured our voicemail users. Asterisk also includes an application called the directory that reads the voicemail configuration and allows callers to look up an extension based on the user's last name. In the section Creating an extension earlier in this chapter, we saw how to send calls to voicemail. How do users retrieve messages? How do we use this directory?
exten => 8000,1,VoicemailMain(@default) exten => 8888,1,Directory(default) exten => 8888,2,Goto(1)
As you can see, providing access to the directory (extension...