Adtran SBC SIP to PRI Twilio SIP trunking

Adtran SBC SIP to PRI Twilio SIP trunking

Tested with NV6310 to ShoreTel T1K





!
!
! ADTRAN, Inc. OS version R13.3.0.E
! Boot ROM version A3.01.B2
! Platform: Netvanta 6310, part number 1700100G1
! Serial number xxxxxx
!
!
hostname "SIP2PRI"
!
!
clock timezone -5-Eastern-Time
!
ip subnet-zero
ip classless
ip default-gateway "WAN GW IP"
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
portal-list "serial" console
!
username "admin" portal-list "admin" password "password"
!
!
no ip firewall alg ftp
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg pptp
no ip firewall alg h323
!
!
!
!
!
!
!
!
no dot11ap access-point-control
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
no ethernet cfm
!
interface eth 0/1
  description LAN
  ip address  192.168.1.230  255.255.255.0
  no awcp
  no shutdown
!
!
interface eth 0/2
  description WAN
  ip address  "WAN IP"  255.255.255.0
  ip mtu 1500
  no awcp
  no shutdown
  media-gateway ip primary
!
!
!
!
interface t1 0/1
  description PRI
  tdm-group 1 timeslots 1-24 speed 64
  no shutdown
!
!
!
interface pri 1
  description PRI
  role network b-channel-restarts enable
  isdn name-delivery setup
  connect t1 0/1 tdm-group 1
  no shutdown
!
!
isdn-group 1
  connect pri 1
!
isdn-number-template 0 prefix "" plan 1 type 2 $
!
!
!
!
!
!
!
!
!
!
no tftp server
no tftp server overwrite
http server
no http secure-server
no snmp agent
ip ftp server
ip ftp server default-filesystem flash
no ip scp server
no ip sntp server
!
!
!
!
!
!
!
!
sip
sip udp 5060
no sip tcp
no sip tls
!
!
voice international-prefix abbreviated
!
voice feature-mode network
voice forward-mode network
!
!
!
!
!
!
!
!
voice dial-plan 0 local NXX-NXX-XXXX
!
!
!
!
voice codec-list Codec
  default
  codec g711ulaw
  codec g711alaw
  codec g729
  codec g722
!
voice codec-list Shoretel
  codec g729
  codec g722
  codec g711ulaw
  codec g711alaw
!
!
!
voice trunk T01 type sip
  description "Twilio"
  match dnis "1XXXXXXXXXX" substitute "0111XXXXXXXXXX"
  match ani "1XXXXXXXXXX " substitute "0111XXXXXXXXXX"
  sip-server primary sip.pstn.us1.twilio.com
  max-number-calls 23
  codec-list Codec both
!
voice trunk T02 type isdn
  description "PRI-PBX"
  resource-selection circular descending
  connect isdn-group 1
  rtp delay-mode adaptive
  codec-list Shoretel
!
!
voice grouped-trunk SIP
  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 PRI
  trunk T02
  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
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
sip grammar from user international
!
!
!
!
!
!
!
line con 0
  login
!
line telnet 0 4
  login
  no shutdown
line ssh 0 4
  login local-userlist
  no shutdown
!
!
ntp source ethernet 0/2
ntp peer us.pool.ntp.org normal-sync source ethernet 0/2 prefer
!
!
!
end


Comments

  1. SIP based voice solutions are a must for every business these days, there are a lot of services like ThinkTel, which offer affordable packages and great quality.

    ReplyDelete
  2. Good to know ThinkTel offer affordable packages, but i cannot find the price information.

    Twilio Pay-as-you-go cost $1 per number per moth and $0.013 make calls and $0.0085 receive calls

    ReplyDelete

Post a Comment

Popular posts from this blog

Extracting and using a modified VMWare Player BIOS or UEFI firmware

Activate Synology Active Backup for Business for DSM 6

Windows 11 internet/account bypass