Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlePatton5200SBC Config
borderStylesolid
#----------------------------------------------------------------#
#                                                                #
# SN5200/32B/EUI                                                 #
# R5.6 2010-11-12 SIP                                            #
# 2011-02-10T16:13:21                                            #
# SN/00A0BA053C0E                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
administrator emstaradmin password JkCxlyQhqxuhlmmOPpYSTg== encrypted
administrator norlemadmin password RlEO1PhjCLdxBlnV7PQuIA== encrypted
administrator pattontech password e7XSpTn1EffhVhZEpOyexA== encrypted
clock local default-offset +00:00
dns-client server 8.8.8.8
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4
system hostname Patton5200

profile acl PROF-ACL-WAN

profile napt PROF-NAPT-WAN
  static tcp 10.10.10.10 443 80

profile ppp default

profile tone-set default

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20
  dtmf-relay rtp
  rtp traffic-class local-default
  fax transmission 1 relay t38-udp

profile pstn default

profile sip default
  no autonomous-transitioning

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface WAN
    ipaddress 100.100.100.100 255.255.255.248
    use profile napt PROF-NAPT-WAN
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

  interface LAN
    ipaddress 10.10.10.10.1 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  route 0.0.0.0 0.0.0.0 100.100.100.111 0

context cs switch

  routing-table called-e164 fromSIPWAN
    route default dest-interface SIP-LAN

  routing-table called-e164 fromSIPLAN
    route 5... dest-service SERVICE-SIP-LAN
    route default dest-interface SIP-WAN

  interface sip SIP-WAN
    bind context sip-gateway GWSIP-WAN
    route call dest-table fromSIPWAN
    remote dallas.voip.ms

  interface sip SIP-LAN
    bind context sip-gateway GWSIP-LAN
    route call dest-table fromSIPLAN
    local sipx.yourdomain.com

  service sip-location-service SERVICE-SIP-LAN
    bind location-service LS-LAN

context cs switch
  no shutdown

authentication-service AUTHSERV
  username 00000 password YOURITSPPASSWORD

location-service LS-LAN
  domain 1 sipx.yourdomain.com

  identity ITSPUSER

    authentication outbound
      authenticate 1 authentication-service AUTHSERV username ITSPUSER

    authentication inbound
      authenticate 1 authentication-service AUTHSERV username ITSPUSER

    registration inbound

location-service LS-WAN
  domain 1 dallas.voip.ms

  identity-group IDENT-GROUP-WAN

    authentication outbound
      authenticate 1 authentication-service AUTHSERV

    registration outbound
      registrar dallas.voip.ms
      register auto

    call outbound

    call inbound

  identity ITSPUSER inherits IDENT-GROUP-WAN

    registration outbound

context sip-gateway GWSIP-WAN

  interface ifwan
    bind interface WAN context router port 5060

context sip-gateway GWSIP-WAN
  bind location-service LS-WAN
  no shutdown

context sip-gateway GWSIP-LAN

  interface iflan
    bind interface LAN context router port 5060

context sip-gateway GWSIP-LAN
  bind location-service LS-LAN
  no shutdown

port ethernet 0 0
  encapsulation ip
  bind interface WAN router
  no shutdown

port ethernet 0 1
  encapsulation ip
  bind interface LAN router
  no shutdown