Adtran Scripts - 14IP

Adtran Scripts

General Scripts

TLS and SRTP

Enable TLS and SRTP

  • Wildcards

    • $GROUP_DOMAIN

    • $SBC_ADDRESS

end
config terminal
voice trunk T00
  sip-server primary $GROUP_DOMAIN tls 14IP 5061 srv sips tcp
  registrar primary $GROUP_DOMAIN tls 14IP 5061 srv sips tcp
  outbound-proxy primary $SECURE_SBC_ADDRESS tls 14IP 5061 srv sips tcp
  srtp optional avp-savp SRTP
end

Disable TLS and SRTP

  • Wildcards

    • $GROUP_DOMAIN

    • $SBC_ADDRESS

end
config terminal
voice trunk T00
  sip-server primary $GROUP_DOMAIN
  registrar primary $GROUP_DOMAIN
  outbound-proxy primary $SBC_ADDRESS
  no srtp optional avp-savp SRTP
end

PROGRAMMING PRI INTERFACES

PRI Interface 1

  • Wildcards

    • $PILOT_NUMBER

end
config terminal
interface t1 0/1
  description "PRI 1"
  tdm-group 1 timeslots 1-24 speed 64
  no shutdown
exit

interface pri 1
  description PRI 1
  role network b-channel-restarts enable
  isdn name-delivery setup
  connect t1 0/1 tdm-group 1
  digits-transferred 4
  no shutdown
exit

isdn-group 1
  connect pri 1
exit

voice trunk t01 type isdn
  description "PRI 1"
  resource-selection linear ascending
  caller-id-override number-inbound $PILOT_NUMBER if-no-cpn
  connect isdn-group 1
  rtp delay-mode adaptive
  codec-list GLOBAL
exit

voice grouped-trunk ISDN
    trunk t01
end

PRI Interface 2

  •  Wildcards

    • $PILOT_NUMBER

end
config terminal
interface t1 0/2
  description "PRI 2"
  tdm-group 2 timeslots 1-24 speed 64
  no shutdown
exit

interface pri 2
  description PRI 2
  role network b-channel-restarts enable
  isdn name-delivery setup
  connect t1 0/2 tdm-group 2
  digits-transferred 4
  no shutdown
exit

isdn-group 2
  connect pri 2
exit

voice trunk t02 type isdn
  description "PRI 2"
  resource-selection linear ascending
  caller-id-override number-inbound $PILOT_NUMBER if-no-cpn
  connect isdn-group 2
  rtp delay-mode adaptive
  codec-list GLOBAL
exit

voice grouped-trunk ISDN
    trunk t02
end