Dial outbound if no extension is found

How can i setup my dialplan so that asterisk tries first to call an intern extension and if that doesn’t exists he calls outbound.

you can do what you ask by writing a dial plan that does that:) You can always catch anything dialed that doesn’t match anything else with “_.” as your extension however it is usually a better idea to specify specify patterns that are valid.

p