Hello all…I have a submenu set up (see below) for an Incomming DID and currently I have it set to where the caller can enter an extension and be transferred to that ext or if no ext is inputted by the caller, it goes to a voicemail box (111) after 30 seconds that I have setup. What I would like to have happen is if the caller does not enter an extension, first rather than going to the voicemail, I would like it to go to a specific extension (same extension, 111) first and then if noone answers at that ext, then have it transferred to voicemail. Any ideas please? Thank You in advance for any ones help and assistance.
[submenu]
exten => 1,1,Noop()
exten => 1,n,Answer
exten => 1,n,GotoIfTime(09:00-21:00,mon-fri,,?daytime)
exten => 1,n(night),VoiceMail(su3500); Customer Service Voice mail
exten => 1,n,Hangup
exten => 1,n(daytime),BackGround(main_trim); Greeting
exten => 1,n,WaitExten(5)
exten => 1,n,Set(MONITOR_FILENAME=/var/spool/asterisk/incoming/cs-${CALLERID(NUM)}-${STRFTIME(,%H:%M)}.wav)
exten => 1,n,Noop(); Set(CALLERID(name)=XXXX_XXXX)
exten => 1,n,Queue(customer-service-queue|Tto|||30)
exten => 1,n,Goto(trunkinbound,111,1,Tto)
exten => 1,n,VoiceMail(su3500)
exten => 1,n,Hangup
;3 Digit Extensions Dial local sip Phone extension
exten => _XXX,1,Goto(trunkinbound,${EXTEN},1,Tto)
exten => _XXX,n,Hangup
exten => i,1,Goto(submenu,1,1)
exten => #,1,Goto(submenu,1,1)
exten => t,1,Goto(submenu,1,1)