System information
7. Outside Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
The Basics of Trunking 131
Fundamental Dialplan for Outside Connectivity 132
PSTN Circuits 133
Traditional PSTN Trunks 134
Installing PSTN Trunks 136
VoIP 144
PSTN Termination 144
PSTN Origination 145
VoIP to VoIP 147
Configuring VoIP Trunks 147
Emergency Dialing 154
Conclusion 156
8.
Voicemail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Comedian Mail 157
The [general] Section 158
The [zonemessages] Section 166
The Contexts Section 167
An Initial voicemail.conf File 168
Dialplan Integration 169
The VoiceMail() Dialplan Application 169
The VoiceMailMain() Dialplan Application 171
Creating a Dial-by-Name Directory 171
Using a Jitterbuffer 172
Storage Backends 172
Linux Filesystem 172
ODBC 173
IMAP 173
Using Asterisk As a Standalone Voicemail Server 174
Integrating Asterisk into a SIP Environment As a Standalone
Voicemail Server 174
SMDI (Simplified Message Desk Interface) 177
Conclusion 179
9. Internationalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Devices External to the Asterisk Server 182
PSTN Connectivity, DAHDI, Digium Cards, and Analog Phones 185
DAHDI Drivers 187
Asterisk 189
Caller ID 189
Language and/or Accent of Prompts 190
Time/Date Stamps and Pronunciation 191
viii | Table of Contents