System information
UK24=Europe/London|'vm-received' q 'digits/at' H N 'hours'
UK12=Europe/London|'vm-received' Q 'digits/at' IMp
These zones not only specify a time, but also dictate the way times and dates are ordered
and read out.
Having created these zones, we can go to the voicemail context part of voicemail.conf
to associate the appropriate mailboxes with the correct zones:
[default]
4001 => 1234,Russell Bryant,rb@shifteight.org,,|tz=central
4002 => 4444,David Duffett,dd@shifteight.org,,|tz=UK24
4003 => 4450,Mary Poppins,mp@shifteight.org,,|tz=UK12|attach=yes
As you can see, when we declare a mailbox, we also (optionally) associate it with a
particular zone. Full details on voicemail can be found in Chapter 8.
The last thing to localize in our Asterisk configuration is the tones played to callers by
Asterisk once they are inside the system (e.g., the tones a caller hears during a transfer).
As identified earlier in this chapter, the initial tones that people hear when they are
calling into the system will come from the IP phone, or from DAHDI for analog
channels.
These tones are set in /etc/asterisk/indications.conf. Here is a part of the sample file,
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.
Asterisk | 193