Dial plan help


Here is my incoming context.

If caller dials an extension that does not exist they get to leave a message.

If they dial a correct extension, and nobody answers, they DO NOT go to voicemail. WHY?

If there is no answer after 15000ms there is a hangup()


exten => s,1,Answer()
exten => s,2,Wait(1)
exten => s,3,Background(enter-password)
exten => _10X,1,Dial(SIP/${EXTEN},15)
exten => t,1,VoiceMail(${EXTEN}@default)
exten => t,2,Hangup()
exten => i,1,Wait(2)
exten => i,2,VoiceMail(101@default)
exten => i,3,Hangup()



exten => _10X,1,Dial() ; dial for 15s
exten => _10X,2,Voicemail() ; when 15s passed go to voicemail
exten => h,1,hangup ; when 'hangup' tehn execute Hangup()

exten => t,1,Voicemail(${EXTEN}@default)
for me is equal to
exten => t,1,Voicemail(t@default)