Adtran Total Access TA924 – SIP Configuration for Asterisk

Here is a scrubbed working configuration for an Adtran TA924 SIP connection to an Asterisk server with a couple of noteworthy points:

  • The internal feature codes of the Adtran have been disabled with the “voice feature-mode network” command. As long as your Adtran’s internal dialplan supports it, feature codes can be passed through to Asterisk.
  • With the “accept $ cost 0” statement on the “NETWORK” trunk group, the Adtran dialplan simply passes off all traffic to the network.
  • Three way calling has been disabled with the “voice call-appearance-mode single” command.
  • Call waiting has been disabled with the “no call-waiting” command per SIP registration.
  • G711u is the only codec enabled by choice.
  • There is an example of how to connect an FXS port to a SIP user.
  • There is an example of how to set transmit/receive gains on an FXS port.
  • There is an example of how to register an extension range of 7000-7023 to an Asterisk server.

TA924-IAD#show run
Building configuration...
!
!
! ADTRAN, Inc. OS version A4.11.00.E
! Boot ROM version 14.04.00
! Platform: Total Access 924 (2nd Gen), part number 4212924L1
! Serial number CFG1111111
!
!
hostname "TA924-IAD"
enable password SuperSecretPassword
!
clock timezone -6-Central-Time
!
ip subnet-zero
ip classless
ip default-gateway 192.168.1.1
ip routing
!
!
ip domain-name "paperstreetonline.com"
ip name-server 192.168.1.18 192.168.1.19
!
!
no auto-config
!
event-history on
no logging forwarding
no logging email
!
no service password-encryption
!
portal-list "admin" console ftp http-admin ssh telnet
!
username "admin" password "SuperSecretPassword"
!
!
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
!
!
!
no dot11ap access-point-control
!
!
!
!
!
!
!
!
!
!
!
!
!
interface eth 0/1
ip address 192.168.1.20 255.255.255.0
media-gateway ip primary
no awcp
no shutdown
!
!
!
!
interface t1 0/1
shutdown
!
interface t1 0/2
shutdown
!
!
interface fxs 0/1
no shutdown
tx-gain 2.0
rx-gain 3.0
!
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 fxs 0/9
no shutdown
!
interface fxs 0/10
no shutdown
!
interface fxs 0/11
no shutdown
!
interface fxs 0/12
no shutdown
!
interface fxs 0/13
no shutdown
!
interface fxs 0/14
no shutdown
!
interface fxs 0/15
no shutdown
!
interface fxs 0/16
no shutdown
!
interface fxs 0/17
no shutdown
!
interface fxs 0/18
no shutdown
!
interface fxs 0/19
no shutdown
!
interface fxs 0/20
no shutdown
!
interface fxs 0/21
no shutdown
!
interface fxs 0/22
no shutdown
!
interface fxs 0/23
no shutdown
!
interface fxs 0/24
no shutdown
!
!
!
!
!
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
no ip tftp server
no ip tftp server overwrite
ip http server
ip http secure-server
no ip snmp agent
no ip ftp server
no ip scp server
no ip sntp server
!
!
!
!
!
!
ip sip
ip sip udp 5060
no ip sip tcp
!
!
!
voice feature-mode network
voice forward-mode network
voice call-appearance-mode single
!
!
!
!
!
!
!
!
!
!
!
voice codec-list CodecList
codec g711ulaw
!
!
!
voice trunk T01 type sip
description "Asterisk"
sip-server primary asteriskpbx.paperstreetonline.com
registrar primary asteriskpbx.paperstreetonline.com
codec-group CodecList
!
!
voice grouped-trunk NETWORK
description "Forwards traffic out eth0/1"
trunk T01
accept $ cost 0
!
!
voice user 7000
connect fxs 0/1
password "1234"
no call-waiting
sip-identity 7000 T01 register auth-name "7000" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7001
connect fxs 0/2
password "1234"
no call-waiting
sip-identity 7001 T01 register auth-name "7001" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7002
connect fxs 0/3
password "1234"
no call-waiting
sip-identity 7002 T01 register auth-name "7002" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7003
connect fxs 0/4
password "1234"
no call-waiting
sip-identity 7003 T01 register auth-name "7003" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7004
connect fxs 0/5
password "1234"
no call-waiting
sip-identity 7004 T01 register auth-name "7004" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7005
connect fxs 0/6
password "1234"
no call-waiting
sip-identity 7005 T01 register auth-name "7005" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7006
connect fxs 0/7
password "1234"
no call-waiting
sip-identity 7006 T01 register auth-name "7006" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7007
connect fxs 0/8
password "1234"
no call-waiting
sip-identity 7007 T01 register auth-name "7007" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7008
connect fxs 0/9
password "1234"
no call-waiting
sip-identity 7008 T01 register auth-name "7008" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7009
connect fxs 0/10
password "1234"
no call-waiting
sip-identity 7009 T01 register auth-name "7009" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7010
connect fxs 0/11
password "1234"
no call-waiting
sip-identity 7010 T01 register auth-name "7010" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7011
connect fxs 0/12
password "1234"
no call-waiting
sip-identity 7011 T01 register auth-name "7011" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7012
connect fxs 0/13
password "1234"
no call-waiting
sip-identity 7012 T01 register auth-name "7012" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7013
connect fxs 0/14
password "1234"
no call-waiting
sip-identity 7013 T01 register auth-name "7013" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7014
connect fxs 0/15
password "1234"
no call-waiting
sip-identity 7014 T01 register auth-name "7014" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7015
connect fxs 0/16
password "1234"
no call-waiting
sip-identity 7015 T01 register auth-name "7015" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7016
connect fxs 0/17
password "1234"
no call-waiting
sip-identity 7016 T01 register auth-name "7016" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7017
connect fxs 0/18
password "1234"
no call-waiting
sip-identity 7017 T01 register auth-name "7017" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7018
connect fxs 0/19
password "1234"
no call-waiting
sip-identity 7018 T01 register auth-name "7018" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7019
connect fxs 0/20
password "1234"
no call-waiting
sip-identity 7019 T01 register auth-name "7019" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7020
connect fxs 0/21
password "1234"
no call-waiting
sip-identity 7020 T01 register auth-name "7020" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7021
connect fxs 0/22
password "1234"
no call-waiting
sip-identity 7021 T01 register auth-name "7021" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7022
connect fxs 0/23
password "1234"
no call-waiting
sip-identity 7022 T01 register auth-name "7022" password "SecretSipPass"
sip-authentication password "1234"
!
!
voice user 7023
connect fxs 0/24
password "1234"
no call-waiting
sip-identity 7023 T01 register auth-name "7023" password "SecretSipPass"
sip-authentication password "1234"
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
line con 0
login local-userlist
password SuperSecretPassword
!
line telnet 0 4
login local-userlist
password SuperSecretPassword
no shutdown
line ssh 0 4
login local-userlist
no shutdown
!
sntp server 0.pool.ntp.org version 3
!
ntp source ethernet 0/1
!
!
!
end

Leave a Reply