Extension Configuration

I’m sorry to ask such a basic question, but I am new to asterisk and have not been able to find a concrete answer in my online searches.

I’m currently running Asterisk 1.6 and have been configuring it mostrly through the Asterisk GUI. I would like to configure calls that go to extensions to be re-routed to the operator if the extension is not available or does not pick up (no interest in voicemail). It seems pretty simple, but I haven’t been able to figure it out. Currently part of my extensions.conf file looks as follows:
[default]
exten=6000,1,Goto(s,1)
exten=#*11#,1,agi(ip.sh)
exten=#*11#,n,NoOp(${IP_ADD})
exten=#*11#,n,Sayalpha(${IP_ADD})
exten=#*11#,n,Hangup
exten=#6XXX,1,VoiceMail(${EXTEN:1}@default,s)
exten=
#6XXX,1,VoiceMail(${EXTEN:1}@default,s)
exten=6750,1,VoiceMailMain(${CALLERID(num)}@default)
exten=o,1,Goto(default,6010,1)
exten=o,1,Goto(default,6010,1)

I’m confused because most of what I’ve found on tutorials is not based on patterns for all extensions.

If anyone can point me in the right direction I would appreciate it.

It should be “exten =>”, not “exten =”.

You appear to have two “o” extensions.

You don’t appear to have any extensions that try to call a local device, so it is a bit difficult to add code for when that fails!

To fallback after a failure, simply continue with the dialplan after the Dial application step (priority) with a Dial to an alternative device, or a Goto to an alternative extension.

Using patterns on the actual Dial call line can be bad practice, as it usually means your phone addresses are easy to guess.