text
stringlengths
0
152
where you can see a given region specified by the country directive. We just need to
change the country code as appropriate:
;
; indications.conf
;
; Configuration file for location specific tone indications
;
; NOTE:
; When adding countries to this file, please keep them in alphabetical
; order according to the 2-character country codes!
;
; The [general] category is for certain global variables.
; All other categories are interpreted as location specific indications
;
[general]
country=uk ; default is US, so we have changed it to UK
Your dialplan will need to reflect the numbering scheme for your region. If you do
not already know the scheme for your area, your local telecoms regulator will usually
be able to supply details of the plan. Also, the example dialplan in /etc/asterisk/exten‐
sions.conf is, of course, packed with North American numbers and patterns.
Internationalization Within Asterisk
|
161
Conclusion—Easy Reference Cheat Sheet
As you can now see, there are quite a few things to change in order to fully localize
your Asterisk-based telephone system, and not all of them are in the Asterisk, or even
DAHDI, configuration—some things need to be changed on the connected IP phones
or ATAs themselves.
Before we leave the chapter, have a look at Table 9-1: a cheat sheet for what to change
and where to change it, for your future reference.
Table 9-1. Internationalization cheat sheet
What to change
Call progress tones
Type of PRI/BRI and protocol
Physical PSTN connections
Caller ID on analog circuits
Prompt language and/or accent
Where to change it
• IP phones—on the phone itself
• ATAs—on the ATA itself
• Analog phones—DAHDI (/etc/dahdi/system.conf)
DAHDI—/etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf
• Balun if required for PRI
• Get the analog pair to middle two pins of the RJ11 connecting to the Digium
card
Asterisk—/etc/asterisk/chan_dahdi.conf
• Channel—/etc/asterisk/sip.conf, /etc/asterisk/iax.conf, /etc/asterisk/
chan_dahdi.conf, etc.
• Dialplan—CHANNEL(language) function
Voicemail time/date stamps and
pronunciation
Tones delivered by Asterisk
Asterisk—/etc/asterisk/voicemail.conf
Asterisk—/etc/asterisk/indications.conf
May all your Asterisk deployments feel at home…
162
|
Chapter 9: Internationalization
CHAPTER 10
Deeper into the Dialplan
For a list of all the ways technology has failed to improve the quality of life, please press three.
—Alice Kahn
Alrighty. You’ve got the basics of dialplans down, but you know there’s more to come.
If you don’t have Chapter 6 sorted out yet, please go back and give it another read.
We’re about to get into more advanced topics.