• Increase font size
  • Default font size
  • Decrease font size
Home Blog! TA908e Sample Config

TA908e with Asterisk Sample Config

 

!

!

! ADTRAN, Inc. OS version A2.05.00.E

! Boot ROM version 14.05.00.SA

! Platform: Total Access 908e (2nd Gen), part number 4242908L1

! Serial number CFG0810880

!

!

hostname "TA908e"

enable password 1234

!

!

ip subnet-zero

ip classless

ip routing

no auto-config

!

event-history on

no logging forwarding

no logging email

!

no service password-encryption

!

portal-list "All" console ftp http-admin ssh telnet

!

username "admin" password "password"

username "user1" portal-list "All" password "1234"

!

!

ip firewall

no ip firewall alg msn

no ip firewall alg h323

!

!

no dot11ap access-point-control

!

ip dhcp-server database local

!

ip dhcp-server pool "TestLAN"

network 192.168.254.0 255.255.255.0

dns-server 192.168.254.1

netbios-node-type h-node

default-router 192.168.254.1

!

interface eth 0/1

description WAN

ip address dhcp

access-policy Public

ip flow ingress

ip flow egress

media-gateway ip primary

no shutdown

!

interface eth 0/2

description LAN

ip address  192.168.254.1  255.255.255.0

access-policy Private

no rtp quality-monitoring

no shutdown

!

interface t1 0/4

fdl none

tdm-group 1 timeslots 1-24 speed 64

no shutdown

!

interface pri 1

isdn name-delivery proceeding

connect t1 0/4 tdm-group 1

role network b-channel-restarts enable

no shutdown

!

interface fxs 0/1

no shutdown

!

interface fxs 0/2

no shutdown

!

interface fxs 0/3

no shutdown

!

interface fxs 0/4

no shutdown

!

interface fxs 0/5

no shutdown

!

interface fxs 0/6

no shutdown

!

interface fxs 0/7

no shutdown

!

interface fxs 0/8

no shutdown

!

!

interface fxo 0/0

no shutdown

!

isdn-group 1

connect pri 1

!

voice feature-mode network

!

voice dial-plan 1 local $

!

voice codec-list G711

default

codec g711ulaw

!

voice codec-list Trunk

codec g711ulaw

codec g729

!

voice trunk T01 type isdn

description "PRI2Asterisk"

resource-selection circular descending

connect isdn-group 1

rtp delay-mode adaptive

!

voice trunk T02 type sip

description "SIP2Asterisk"

sip-server primary 192.168.254.169

registrar primary 192.168.254.169

codec-group Trunk

default-ring-cadence internal

!

!

voice grouped-trunk SIP2ASTERISK

no description

trunk T02

accept NXX-XXXX cost 0

accept 1-NXX-NXX-XXXX cost 0

accept 1-800-NXX-XXXX cost 0

accept 1-888-NXX-XXXX cost 0

accept 1-877-NXX-XXXX cost 0

accept 1-866-NXX-XXXX cost 0

accept 1-855-NXX-XXXX cost 0

accept 411 cost 0

accept 611 cost 0

accept 911 cost 0

accept $ cost 0

reject 976-XXXX

reject 1-900-NXX-XXXX

reject 1-976-NXX-XXXX

!

!

voice grouped-trunk PRI2ASTERISK

no description

trunk T01

accept NXX-XXXX cost 0

accept 1-NXX-NXX-XXXX cost 0

accept 1-800-NXX-XXXX cost 0

accept 1-888-NXX-XXXX cost 0

accept 1-877-NXX-XXXX cost 0

accept 1-866-NXX-XXXX cost 0

accept 1-855-NXX-XXXX cost 0

accept $ cost 0

reject 976-XXXX

reject 1-900-NXX-XXXX

reject 1-976-NXX-XXXX

!

!

voice user 200

connect fxs 0/1

first-name "Bob"

last-name "Langys"

password "1234"

no special-ring-cadences

num-rings 8

sip-identity 401 T02 register auth-name "401" password "1234"

sip-authentication password "1234"

codec-group G711

!

!

voice user 201

connect fxs 0/2

first-name "Bill"

last-name "Murry"

password "1234"

no special-ring-cadences

sip-identity 402 T02 register auth-name "402" password "1234"

sip-authentication password "1234"

codec-group G711

!

!

voice user 202

connect fxs 0/3

first-name "Analog"

last-name "Port 3"

password "1234"

no special-ring-cadences

num-rings 8

sip-authentication password "1234"

codec-group G711