How To Configure An ADTRAN SBC
Description
This video walks through configuring an ADTRAN SBC for SIP Trunking applications. This is applicable to any of the ADTRAN SBC product line.
Here is a link to the SBC SIP Trunking Sample Config on the ADTRAN support forum: https://supportforums.adtran.com/docs/DOC-5992
Here are the commands used during the video:
TN_NV3430_21#config t
TN_NV3430_21(config)#voice transfer-mode local
TN_NV3430_21(config)#voice forward-mode local
TN_NV3430_21(config)#ip rtp symmetric-filter
TN_NV3430_21(config)#ip rtp media-anchoring
TN_NV3430_21(config)#
TN_NV3430_21(config)#int ethernet 0/1
TN_NV3430_21(config-eth 0/1)#media-gateway ip primary
TN_NV3430_21(config-eth 0/1)#exit
TN_NV3430_21(config)#
TN_NV3430_21(config)#int ethernet 0/2
TN_NV3430_21(config-eth 0/2)#media-gateway ip primary
TN_NV3430_21(config-eth 0/2)#exit
TN_NV3430_21(config)#
TN_NV3430_21(config)#voice trunk T01 type sip
TN_NV3430_21(config-T01)#sip-server primary bwcl1as2.test.adtran.com
TN_NV3430_21(config-T01)#exit
TN_NV3430_21(config)#voice trunk T02 type sip
TN_NV3430_21(config-T02)#sip-server primary 10.19.237.97
TN_NV3430_21(config-T02)#transfer-mode network
TN_NV3430_21(config-T02)#grammar from host local
TN_NV3430_21#
TN_NV3430_21(config)#voice grouped-trunk PSTN
TN_NV3430_21(config-PSTN)#trunk T01
TN_NV3430_21(config-PSTN)#accept NXX-NXX-XXXX
TN_NV3430_21(config-PSTN)#exit
TN_NV3430_21(config)#voice grouped-trunk PBX
TN_NV3430_21(config-PBX)#trunk T02
TN_NV3430_21(config-PBX)#accept NXXX
TN_NV3430_21(config-PBX)#exit
TN_NV3430_21(config)#exit
TN_NV3430_21#
TN_NV3430_21#debug sip stack messages summary
TN_NV3430_21#debug voice summary
TN_NV3430_21#
13:12:50.793 SIP.STACK MSGSUM Rx: INVITE sip:2565559009@10.19.237.98:5060 SIP/2.0 (with SDP)
13:12:50.800 SIP.STACK MSGSUM Tx: SIP/2.0 100 Trying
13:12:50.804 VOICE.SUMMARY T02 is calling T01 (2565559009).
13:12:50.810 SIP.STACK MSGSUM Tx: INVITE sip:2565559009@bwcl1as2.test.adtran.com:5060 SIP/2.0 (with SDP)
13:12:50.814 SIP.STACK MSGSUM Rx: SIP/2.0 100 Trying
13:12:50.953 SIP.STACK MSGSUM Rx: SIP/2.0 180 Ringing
13:12:50.956 SIP.STACK MSGSUM Tx: SIP/2.0 180 Ringing
TN_NV3430_21#
TN_NV3430_21#
TN_NV3430_21#
TN_NV3430_21#
13:12:55.456 SIP.STACK MSGSUM Rx: SIP/2.0 200 OK (with SDP)
13:12:55.464 SIP.STACK MSGSUM Tx: SIP/2.0 200 OK (with SDP)
13:12:55.666 SIP.STACK MSGSUM Rx: ACK sip:2565559009@10.19.237.98:5060;transport=UDP SIP/2.0
13:12:55.670 VOICE.SUMMARY T02 is connected to T01 (2565559009)
13:12:55.672 SIP.STACK MSGSUM Tx: ACK sip:10.255.3.2:5060;transport=UDP SIP/2.0
TN_NV3430_21#
TN_NV3430_21#
TN_NV3430_21#
TN_NV3430_21#
TN_NV3430_21#
13:13:01.326 SIP.STACK MSGSUM Rx: BYE sip:2565559009@10.19.237.98:5060;transport=UDP SIP/2.0
13:13:01.329 SIP.STACK MSGSUM Tx: SIP/2.0 200 OK
13:13:01.331 VOICE.SUMMARY Call from T02 to T01 (2565559009) ended by T02: normal clearing
13:13:01.333 SIP.STACK MSGSUM Tx: BYE sip:10.255.3.2:5060;transport=UDP SIP/2.0
13:13:01.336 SIP.STACK MSGSUM Rx: SIP/2.0 200 OK
TN_NV3430_21#
TN_NV3430_21#undebug all
The full configuration is below:
! ADTRAN, Inc. OS version R11.4.2.V
! Boot ROM version 17.06.01.V1
! Platform: NetVanta 3430, part number 1202820G1
! Serial number LBADTN1236AF328
!
!
hostname "TN_NV3430_21"
enable password adtran
!
clock timezone -6-Central-Time
!
ip subnet-zero
ip classless
ip routing
ipv6 unicast-routing
!
!
domain-name "ents.adtran.com"
name-server 10.100.13.254
!
!
no auto-config
!
event-history on
no logging forwarding
no logging email
!
no service password-encryption
!
username "admin" password "adtran"
!
!
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
!
no dot11ap access-point-control
!
!
!
!
no ethernet cfm
!
interface eth 0/1
ip address 10.100.13.136 255.255.255.128
media-gateway ip primary
no shutdown
!
!
interface eth 0/2
ip address 10.19.237.98 255.255.255.240
media-gateway ip primary
no shutdown
!
!
ip route 0.0.0.0 0.0.0.0 10.100.13.254
!
no tftp server
no tftp server overwrite
http server
http secure-server
snmp agent
ip ftp server
ip ftp server default-filesystem flash
no ip scp server
no ip sntp server
!
!
!
!
snmp-server community public RO
snmp-server community private RW
!
!
!
!
sip
sip udp 5060
sip tcp 5060
!
!
!
voice feature-mode network
voice transfer-mode local
voice forward-mode local
!
!
!
voice trunk T01 type sip
sip-server primary bwcl1as2.test.adtran.com
!
voice trunk T02 type sip
sip-server primary 10.19.237.97
grammar from host local
transfer-mode network
!
!
voice grouped-trunk PSTN
trunk T01
accept NXX-NXX-XXXX cost 0
!
!
voice grouped-trunk PBX
trunk T02
accept NXXX cost 0
!
!
!
!
ip rtp media-anchoring
!
!
!
line con 0
no login
!
line telnet 0 4
login local-userlist
no shutdown
line ssh 0 4
login local-userlist
no shutdown
!
sntp server ntp.test.adtran.com version 3
!
!
!
!
end