User manual
Release 1.01 Digium, Inc. Page 33
Chapter 3: Configuration
Dial Plan
Open
extensions.conf, which contains a large, complex sample dial
plan. In this step, you will configure a basic dial plan to enable you to
send and receive calls. Go to the bottom of the file and add the following
lines:
[Internal]
exten => 1000,1,Dial(zap/1,20,rt)
exten => 1000,2,Voicemail(u1000)
exten => 1000,102,Voicemail(b1000)
exten => 2000,1,Dial(zap/2,20,rt)
exten => 2000,2,Voicemail(u2000)
exten => 2000,102,Voicemail(b2000)
exten => 8500,1,VoiceMailMain
exten => 8501,1,MusicOnHold
exten => _9.,1,Dial(zap/g2/www${EXTEN:1})
exten => _9.,2,Congestion
[Incoming]
exten => s,1,Answer
exten => s,2,Dial(zap/g1,20,rt)
exten => s,3,Voicemail(u1000)
exten => s,103,Voicemail(b1000)
In this example there are two internal extensions (1000 and 2000), a
number to check voicemail (8500), a number to listen to musiconhold,
(8501), and a prefix to dial to get an outside line (9). It is configured for
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 600030