Overview
Vanilla Asterisk can have infinite variations in its configuration and dialplan. You may use these examples to help you get started.
Navigate to /etc/asterisk and edit these files
sip.conf
[SkyetelTERM]
type=friend
insecure=very
host=na.skyetel.com
dtmfmode=rfc2833
disallow=all
context=from-trunk
allow=g722&ulaw
qualify=yes
#tcpenable=yes
[SkyetelCA]
type=friend
insecure=very
host=52.8.201.128
dtmfmode=rfc2833
disallow=all
context=from-trunk
allow=g722&ulaw
qualify=yes
#tcpenable=yes
[SkyetelNE]
type=friend
insecure=very
host=52.60.138.31
dtmfmode=rfc2833
disallow=all
context=from-trunk
allow=g722&ulaw
qualify=yes
#tcpenable=yes
[SkyetelOR]
type=friend
insecure=very
host=52.41.52.34
dtmfmode=rfc2833
disallow=all
context=from-trunk
allow=g722&ulaw
qualify=yes
#tcpenable=yes
[SkyetelVA]
type=friend
insecure=very
host=50.17.48.216
dtmfmode=rfc2833
disallow=all
context=from-trunk
allow=g722&ulaw
qualify=yes
#tcpenable=yes
extensions.conf
[11 Digit]
exten => _1xxxxxxxxxx,1,Dial(SIP/SkyetelTERM/${EXTEN},45)
exten => _1xxxxxxxxxx,n,Dial(SIP/SkyetelOR/${EXTEN},45)
exten => _1xxxxxxxxxx,n,Dial(SIP/SkyetelCA/${EXTEN},45)
exten => _1xxxxxxxxxx,n,Dial(SIP/SkyetelVA/${EXTEN},45)
exten => _1xxxxxxxxxx,n,Dial(SIP/SkyetelNE/${EXTEN},45)
exten => _1xxxxxxxxxx,n,Hangup()
[10 Digit]
exten => _xxxxxxxxxx,1,Dial(SIP/SkyetelTERM/1${EXTEN},45)
exten => _xxxxxxxxxx,n,Dial(SIP/SkyetelOR/1${EXTEN},45)
exten => _xxxxxxxxxx,n,Dial(SIP/SkyetelCA/1${EXTEN},45)
exten => _xxxxxxxxxx,n,Dial(SIP/SkyetelVA/1${EXTEN},45)
exten => _xxxxxxxxxx,n,Dial(SIP/SkyetelNE/1${EXTEN},45)
exten => _xxxxxxxxxx,n,Hangup()
[0 Prefix, 11 Digit]
exten => _01xxxxxxxxxx,1,Dial(SIP/SkyetelTERM/1${EXTEN:1},45)
exten => _01xxxxxxxxxx,n,Dial(SIP/SkyetelOR/1${EXTEN:1},45)
exten => _01xxxxxxxxxx,n,Dial(SIP/SkyetelCA/1${EXTEN:1},45)
exten => _01xxxxxxxxxx,n,Dial(SIP/SkyetelVA/1${EXTEN:1},45)
exten => _01xxxxxxxxxx,n,Dial(SIP/SkyetelNE/1${EXTEN:1},45)
exten => _01xxxxxxxxxx,n,Hangup()
[9 Prefix, 11 Digit]
exten => _91xxxxxxxxxx,1,Dial(SIP/SkyetelTERM/1${EXTEN:1},45)
exten => _91xxxxxxxxxx,n,Dial(SIP/SkyetelOR/1${EXTEN:1},45)
exten => _91xxxxxxxxxx,n,Dial(SIP/SkyetelCA/1${EXTEN:1},45)
exten => _91xxxxxxxxxx,n,Dial(SIP/SkyetelVA/1${EXTEN:1},45)
exten => _91xxxxxxxxxx,n,Dial(SIP/SkyetelNE/1${EXTEN:1},45)
exten => _91xxxxxxxxxx,n,Hangup()
[Emergency]
exten => _911,1,Dial(SIP/SkyetelTERM/${EXTEN},45)
exten => _911,n,Dial(SIP/SkyetelOR/${EXTEN},45)
exten => _911,n,Dial(SIP/SkyetelCA/${EXTEN},45)
exten => _911,n,Dial(SIP/SkyetelVA/${EXTEN},45)
exten => _911,n,Dial(SIP/SkyetelNE/${EXTEN},45)
exten => _911,n,Hangup()
[Emergency Test]
exten => _933,1,Dial(SIP/SkyetelTERM/${EXTEN},45)
exten => _933,n,Dial(SIP/SkyetelOR/${EXTEN},45)
exten => _933,n,Dial(SIP/SkyetelCA/${EXTEN},45)
exten => _933,n,Dial(SIP/SkyetelVA/${EXTEN},45)
exten => _933,n,Dial(SIP/SkyetelNE/${EXTEN},45)
exten => _933,n,Hangup()
Apply Config
service asterisk reload