Adtran SIP to PRI Config for CD

Modified on Mon, Jan 23, 2017 at 12:10 PM

!

!

! ADTRAN, Inc. OS version R11.10.6.E

! Boot ROM version 14.05.00.SA

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

! Serial number CFG0954442

!

!

hostname "TA908e"

!

!

clock timezone -5-Eastern-Time

!

statistics rate-interval 60

!

ip subnet-zero

ip classless

ip routing

ipv6 unicast-routing

!

!

name-server 8.8.8.8 8.8.4.4

!

!

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" portal-list "all" password "larry88"

!

ip policy-timeout udp all-ports 300

!

ip firewall

no ip firewall alg msn

no ip firewall alg mszone

no ip firewall alg h323

!

!

no dot11ap access-point-control

!

!

!

probe c9p icmp-echo

  destination 198.58.41.79

  period 30

  tolerance consecutive fail 2 pass 1

  no shutdown

!

track testtrack

  test if probe c9p

  no shutdown

!

!

ip dhcp pool "LAN DHCP"

  network 10.10.10.0 255.255.255.0

  default-router 10.10.10.1

!

!

interface loop 1

  no ip address

  no shutdown

!

interface eth 0/1

  description LAN

  ip address  10.10.10.1  255.0.0.0

  media-gateway ip primary

  no shutdown

!

!

interface eth 0/2

  description WAN to C9P SIP

  ip address dhcp

  media-gateway ip primary

  no shutdown

!

!

interface t1 0/1

  shutdown

!

interface t1 0/2

  shutdown

!

interface t1 0/3

  description PRI-1 to PBX

  tdm-group 1 timeslots 1-24 speed 64

  no shutdown

!

interface t1 0/4

  description PRI-2 to PBX

  tdm-group 1 timeslots 1-24 speed 64

  no shutdown

!

!

interface pri 1

  description pri 1

  isdn name-delivery setup

  connect t1 0/3 tdm-group 1

  no shutdown

!

interface pri 2

  description pri 2

  isdn name-delivery setup

  connect t1 0/4 tdm-group 1

  no shutdown

!

!

interface fxs 0/1

  shutdown

!

interface fxs 0/2

  shutdown

!

interface fxs 0/3

  shutdown

!

interface fxs 0/4

  shutdown

!

interface fxs 0/5

  shutdown

!

interface fxs 0/6

  shutdown

!

interface fxs 0/7

  shutdown

!

interface fxs 0/8

  shutdown

!

!

interface fxo 0/0

  shutdown

!

!

isdn-group 1

!

!

isdn-group 2

!

!

isdn-group 3

  connect pri 1

!

!

isdn-group 4

  connect pri 2

!


!

ip access-list extended "Allow SIP"

!

!

no tftp server

no tftp server overwrite

http server

http session-timeout 3600

http secure-server

no snmp agent

no ip ftp server

no ip scp server

no ip sntp server

!

!

sip

sip udp 5060

no sip tcp

!

!

voice feature-mode network

voice forward-mode network

!

!

voice dial-plan 1 local NXX-XXXX

voice dial-plan 3 long-distance 1-NXX-NXX-XXXX

!

!

voice codec-list g711

  default

  codec g711ulaw

!

!

!

voice trunk T01 type sip

  description "SIP"

  reject-external

  sip-server primary 198.58.41.79

  registrar primary 198.58.41.79

  registrar expire-time 360

  no registrar require-expires

  register sip0000002_clpkrc auth-name "sip0000002_clpkrc" password "587b156997123"

  trust-domain

  codec-list g711 both

  authentication username "sip0000002_clpkrc" password "587b156997123"

!

voice trunk T02 type isdn

  description "PRI-1"

  resource-selection circular descending

  busy-out monitor track testtrack

  connect isdn-group 3

  rtp delay-mode adaptive

  codec-list g711

!

voice trunk T03 type isdn

  description "PRI-2"

  resource-selection circular descending

  busy-out monitor track testtrack

  connect isdn-group 4

  rtp delay-mode adaptive

  codec-list g711

!

!

voice grouped-trunk TG1

  description "PRI"

  trunk T02

  trunk T03

  accept $ cost 0

!

!

voice grouped-trunk SIP

  description "SIP trunk Group"

  trunk T01

  accept $ cost 0

!

!

sip timer registration-failure-retry 30

!

!

line con 0

  login local-userlist

!

line telnet 0 4

  login local-userlist

  no shutdown

line ssh 0 4

  login local-userlist

  no shutdown

!

!

ntp source ethernet 0/2

ntp server us.pool.ntp.org source ethernet 0/2 prefer

!

!

!

end




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article