How to create voicemail in exten

i have to do this

1 - exten 2000 should receives incoming call from channel

2 - if exten 2000 dosent receives call in 15 secs message should be stored in voicemail

here r the voicemail,sip, extension.conf

###########################################################################################

voicemail.conf
[general]
format = wav
attach = yes

[default]
; Syntax for new entries looks like this:
; MailboxNumber => password,name,e-mail,pager,options
; (usually, the MailboxNumber is the same as the Extension)
2000 => 1234,ABC
2001 => 1234,DEF

##########################################################################################

vi /etc/asterisk/sip.conf

[general]
port = 5060
bindaddr = 0.0.0.0
context = others

[2000]
type=friend
context=voicemail
secret=1234
host=dynamic

[2001]
type=friend
context=voicemail
secret=1234
host=dynamic

#########################################################################################################################

vi /etc/asterisk/extensions.conf

[from-zaptel]; plz check zapata.conf

exten => s,1,wait(2)
exten => s,n,dial(sip/2000,15)

exten => 1,1,goto(voicemail,200,1)

[voicemail]
exten => 2000,1,Dial(SIP/200,20)
exten => 2000,2,VoiceMail(200,u)

exten => 2001,1,Dial(SIP/201,20)
exten => 2001,2,VoiceMail(201,u)

exten => 2999,1,VoiceMailMain(${CALLERID(num)},s) ; by 2999 voicemail can be heard.

###########################################################################################

vi /etc/asterisk/zaptel.conf

[root@localhost ~]# vi /etc/zaptel.conf
#autogenerated by /usr/sbin/wancfg_zaptel do not hand edit
#autogenrated on 2010-02-09
#Zaptel Channels Configurations
#For detailed Zaptel options, view /etc/zaptel.conf.bak
loadzone=us
defaultzone=us

#Sangoma USB U100 [bus:2-3 span:1]
fxsks=1
fxsks=2
~

#############################################################################################################################

vi /etc/asterisk/zapata.conf

;autogenerated by /usr/sbin/wancfg_zaptel do not hand edit
;autogenrated on 2010-02-09
;Zaptel Channels Configurations
;For detailed Zaptel options, view /etc/asterisk/zapata.conf.bak

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;Sangoma AU100 [slot:0 bus: span:1]
context=from-zaptel
group=0
signalling = fxs_ks
channel => 1

context=from-zaptel
group=0
signalling = fxs_ks
channel => 2

##########################################################################################################################

by this dial plan its not working.

extensions.conf
[voicemail]
exten => 2000,1,Dial(SIP/200,20)
exten => 2000,2,VoiceMail(2000,u)
exten => 2001,1,Dial(SIP/201,20)
exten => 2001,2,VoiceMail(2001,u)
exten => 2999,1,VoiceMailMain(${CALLERID(num)},s) ; by 2999 voicemail can be heard.

there are 2000 and 2001 mailbox numbers… not the 200 and 201

thx fdrgowksi,

now its working.
thx