[Asterisk-Users] Whats wrong with dialplan?

Chris Lee cslee-list at cybericom.co.uk
Wed Feb 4 08:11:21 MST 2004


I am having problems with my dial plan, please help me locate the problem:

In the following dialplan, I am not able to press 8 to get to voicemail 
main while the 3000 mailbox unavailable message is being read in the 
background.
What am I doing wrong?

[globals]
;physical-phones
p1 = SIP/p3000
p2 = SIP/p3001
p3 = SIP/p3002
p4 = some other physical phone
 

;lines
line1 = Zap/1

[voicemail access]
;Extension 8 to get to voicmail:
exten => 8,1,VoicemailMain

[no match]
exten => _.,1,Playback(sorry-no-match)
exten => _.,2,Hangup

[extensions]
;ext3000:
exten => 3000,1,Dial(${p1},10,tr)
exten => 3000,2,Answer
exten => 3000,3,Background,vm/3000/unavail
exten => 3000,4,Voicemail,3000
exten => 3000,5,Hangup
;If Busy:
exten => 3000,102,Background,vm/3000/unavail
exten => 3000,103,Goto,4

[well-road]
;includes
include => voicmail access
include => extensions
include => no match
 

exten => h,1,Hangup

[default]
 

exten => s,1,Goto(well-road,3000,1)


Thanks for any help

Regards
Chris



More information about the asterisk-users mailing list