Dail straight out to Sip Provider

Hey guys, ive been looking everywhere on the net how to do this.

Pretty much i want it to dail internally if the numbers dailed are <6 digits or dail out if its above =>6 digits.

How would i do this so it would connect to a sip provider such as Voipbuster. I want it so i dont have to EG, dail 9 to access an outside line. I would like some kind of rule so if below 6 digits, dail internally, if equal to or above 6 digits access VOIP line.

Can you please tell me what i need to do, to do this and type what. Below are Voipbusters configurations:

SIP port : 5060
Registrar : sip.voipbuster.com
Proxy server : sip.voipbuster.com
Outbound proxy server : leave empty
Account name : your VoipBuster username
Password : your VoipBuster password
Display name/number : your VoipBuster username or voipnumber
Stunserver (option) : stun.voipbuster.com

I would really appriciate this.

Best,
Nathaniel

Assuming that you are using FreePBX for all your configurations, all you must do is

  1. Add an ‘Outbound Route’

  2. Put in the ‘Dial Patterns’ XXXXXX. Including the ‘.’

  3. Select the trunk or trunks you wish to use

  4. Vowala!