[Asterisk-Users] Night menu not working
Justin Carlson
justin at lach.net
Thu Mar 11 13:53:24 MST 2004
Hi all,
I am trying to get day and nighttime menus to work in * and no matter what
time I specify the first include entry that matches the number dialed is
used. I have included my extentions.conf and my sip phones have a default
context of default.
[general]
static=yes
writeprotect=no
[globals]
MARYKAY => 21
RECEPTIONIST => 20
KATHY => 22
[daytime]
include => parkedcalls
exten => t,1,Playback(vm-goodbye)
exten => t,2,Hangup
exten => i,1,Playback(invalid)
switch => IAX2/lachtest at 10.1.1.109/dialout
;sip extentions
exten => ${MARYKAY},1,Dial,SIP/21|20
exten => ${MARYKAY},2,Voicemail,u21
exten => ${RECEPTIONIST},1,Dial,SIP/20|20
exten => ${RECEPTIONIST},2,Dial,SIP/20&SIP/21&SIP/22|20
exten => ${RECEPTIONIST},3,Voicemail,u20
exten => ${KATHY},1,Dial,SIP/22|20
exten => ${KATHY},2,Voicemail,u22
; for Local Voicemail access
exten => *98,1,VoicemailMain
exten => asterisk,1,VoicemailMain
exten => 25,1,Dial,SIP/fax
; voicemail extentions
exten => 621,1,Voicemail,u21
exten => 620,1,Voicemail,u20
exten => 622,1,Voicemail,u22
exten => 679,1,VoicemailMain
; direct extentions
exten => 201,1,Dial,IAX/woodlane at 65.113.14.6/6515526201
exten => 307,1,Dial,IAX/woodlane at 65.113.14.6/6515522307
exten => 309,1,Dial,IAX/woodlane at 65.113.14.6/6515522309
exten => 313,1,Dial,IAX/woodlane at 65.113.14.6/6515522313
exten => 317,1,Dial,IAX/woodlane at 65.113.14.6/6515522317
exten => 601,1,Dial,IAX/woodlane at 65.113.14.6/6515523601
exten => 603,1,Dial,IAX/woodlane at 65.113.14.6/6515523603
exten => 609,1,Dial,IAX/woodlane at 65.113.14.6/6515523609
exten => 664,1,Dial,IAX/woodlane at 65.113.14.6/6515523664
exten => 694,1,Dial,IAX/woodlane at 65.113.14.6/6515523694
exten => 816,1,Dial,IAX/woodlane at 65.113.14.6/6515526816
exten => 817,1,Dial,IAX/woodlane at 65.113.14.6/6515526817
exten => 821,1,Dial,IAX/woodlane at 65.113.14.6/6515526821
exten => 842,1,Dial,IAX/woodlane at 65.113.14.6/6515526842
[faxmachine]
switch => IAX2/faxmachine at 65.113.14.6/faxmachine
[nighttime]
exten => 21,1,Playback(tt-monkeys)
[default]
include => daytime|8:00-14:48|mon-fri
include => nighttime
More information about the asterisk-users
mailing list