Adtran 908e 2nd Twilio SIP to ShoreTel 2PRI (T1K) 46 channels
Adtran 908e 2nd Twilio SIP to 2PRI (T1K) 46 channels
Tested with ShoreTel T1K
Tested with ShoreTel T1K
Twilio account and create Elastic SIP Trunk
Adtran 908e 2nd
!
!
! ADTRAN, Inc. OS version R13.6.0.E
! Boot ROM version 14.05.00.SA
! Platform: Total Access 908e (2nd Gen), part number 4242908L1
! Serial number CFG1047000
!
!
hostname "T908e"
enable password level 2 password
!
!
clock timezone -5-Eastern-Time
!
ip subnet-zero
ip classless
ip default-gateway 192.168.1.1
ip routing
ipv6 unicast-routing
!
!
domain-proxy
name-server 1.1.1.1 1.0.0.1
!
!
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 "admin2" privilege 7 portal-list "admin" password "password"
username "admin" portal-list "admin" password "password"
ip forward-protocol udp time
ip forward-protocol udp nameserver
ip forward-protocol udp tacacs
ip forward-protocol udp tftp
ip forward-protocol udp netbios-ns
ip forward-protocol udp netbios-dgm
!
banner motd #
Important
Web username/password is configured to admin/password.
Enable and Telnet passwords are configured to "password".
Please change them immediately.
The ethernet 0/1 interface is enabled with an address of 192.168.10.231
Telnet/SSH access is also enabled.
#
!
!
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.2 255.255.255.0
no shutdown
media-gateway ip primary
!
!
interface eth 0/2
no ip address
shutdown
!
!
!
!
interface t1 0/1
description PRI01
shutdown
!
interface t1 0/2
description PRI02
shutdown
!
interface t1 0/3
description PRI03
tdm-group 1 timeslots 1-24 speed 64
no shutdown
!
interface t1 0/4
description PRI04
tdm-group 1 timeslots 1-24 speed 64
no shutdown
!
!
interface pri 3
description pri 3
role network b-channel-restarts enable
isdn name-delivery setup
connect t1 0/3 tdm-group 1
no shutdown
!
interface pri 4
description pri 4
role network b-channel-restarts enable
isdn name-delivery setup
connect t1 0/4 tdm-group 1
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 4
connect pri 3
!
!
isdn-group 2
connect pri 4
!
!
isdn-group 3
connect pri 3
!
!
!
!
!
!
!
!
!
!
!
no tftp server
no tftp server overwrite
http server
http session-timeout 1800
no http secure-server
no snmp agent
ip ftp server
no ip scp server
no ip sntp server
!
!
!
!
!
!
!
!
sip
sip udp 5060
no sip tcp
!
!
voice international-prefix abbreviated
!
voice feature-mode network
voice forward-mode network
!
!
!
!
!
!
!
!
voice dial-plan 2 local NXX-NXX-XXXX
!
!
!
!
voice codec-list Default
default
codec g711ulaw
codec g711alaw
codec g729
codec g722
!
!
!
voice trunk T01 type isdn
description "PRI"
resource-selection circular descending
connect isdn-group 3
rtp delay-mode adaptive
!
voice trunk T02 type sip
description "Twilio"
match dnis "411" substitute "01118003733411"
match dnis "311" substitute "01112126399675"
match dnis "1[2-7]XX5551212" substitute "01118003733411"
match dnis "1XXXXXXXXXX" substitute "0111XXXXXXXXXX"
sip-server primary sip.pstn.twilio.com
outbound-proxy primary sip.pstn.twilio.com
max-number-calls 23
!
!
voice grouped-trunk PRIGROUP
description "PRI"
trunk T01
accept $ cost 0
accept NXX-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 011-$ cost 0
accept 411 cost 0
accept 611 cost 0
reject NXX-976-XXXX
reject 1-900-NXX-XXXX
reject 1-976-NXX-XXXX
reject 1-NXX-976-XXXX
!
!
voice grouped-trunk SIPGROUP
description "SIP"
trunk T02
accept $ 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 011-$ cost 0
accept 411 cost 0
accept 611 cost 0
accept NXX-NXX-XXXX cost 0
reject 1-900-NXX-XXXX
reject 1-976-NXX-XXXX
reject 1-NXX-976-XXXX
reject NXX-976-XXXX
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
sip grammar from user international
!
!
!
!
!
!
!
line con 0
login
!
line telnet 0 4
login
password password
no shutdown
line ssh 0 4
login local-userlist
no shutdown
!
!
ntp source ethernet 0/1
ntp master
ntp peer us.pool.ntp.org normal-sync source ethernet 0/1 prefer
!
!
!
end
Comments
Post a Comment