Page 172 - Asterisk™: The Future of Telephony
P. 172

exten => _91NXXNXXXXXX,n,Playtones(congestion)
                   exten => _91NXXNXXXXXX,n,Hangup()
               These two include statements make it possible for callers in the [employees] context
               to make outbound calls. We should also note that for security’s sake you should always
               make sure that your [inbound] context never allows outbound dialing. (If by chance it
               did, people could dial into your system and then make outbound toll calls that would
               be charged to you!)


               Conclusion

               And there you have it—a basic but functional dialplan. It’s not exactly fully featured,
               but we’ve covered all of the fundamentals. In the following chapters, we’ll continue to
               add features to this foundation.
               If parts of this dialplan don’t make sense, you may want to go back and re-read a section
               or two before continuing on to the next chapter. It’s imperative that you understand
               these principles and how to apply them, as the next chapters build on this information.











































               144 | Chapter 5: Dialplan Basics
   167   168   169   170   171   172   173   174   175   176   177