Knowledgebase

 
 
Knowledgebase Article
Knowledgebase > Unified Communications > SmartNode > SmartWare


SmartNode configuration for use with OCS
Article Id #: 156

Configuration Descritipon

Configuration for SN4638 for use with OCS. A more detailed explanation you will find on the following link.

 

Commande Sequence to copy, edit and paste

#----------------------------------------------------------------#
#                                                                #
# SN4638/5BIS/UI                                                 #
# R5.X                                                           #
#                                                                #
# OCS sampe configuration                                        #
# Author: Thomas Tlapak                                          #
# Patton-Inalp Neworks                                           #
# CH-3172 Niederwangen                                           #
# www.patton.com; [email protected]                             #
#                                                                #
# Date: 5/11/2010                                                #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
administrator administrator password abersogeheim! encrypted
clock local offset +01:00
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 193.84.178.254 port 123 version 4
system hostname patton-tb

system

  ic voice 0
    low-bitrate-codec g729

system
  clock-source 1 bri 0 0
  clock-source 2 bri 0 1
  clock-source 3 bri 0 2
  clock-source 4 bri 0 3
  clock-source 5 bri 0 4

profile napt NAPT_WAN

profile ppp default

profile tone-set default

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20 no-silence-suppression
  codec 2 g711ulaw64k rx-length 20 tx-length 20 no-silence-suppression
  rtp traffic-class local-default

profile pstn default

profile sip default

profile dhcp-server DHCPS_LAN
  network 192.168.1.0 255.255.255.0
  include 1 192.168.1.10 192.168.1.99
  lease 2 hours
  default-router 1 192.168.1.1
  domain-name-server 1 192.168.1.1

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface WAN
    ipaddress dhcp
    use profile napt NAPT_WAN
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

  interface IF_IP_LAN
    ipaddress 192.168.1.1 255.255.255.0

context ip router
# Set below the default gateway IP address
  route 0.0.0.0 0.0.0.0 <default gateway IP> 0

context cs switch

  routing-table called-e164 RT_FROM_PSTN
    route .T dest-interface IF_SIP_OCS

  routing-table calling-e164 RT_TO_PSTN_OCS
    route .T dest-service SER_HUNT_PSTN

  interface isdn IF_TE_00
    route call dest-table RT_FROM_PSTN

  interface isdn IF_TE_01
    route call dest-table RT_FROM_PSTN

  interface isdn IF_TE_02
    route call dest-table RT_FROM_PSTN

  interface isdn IF_TE_03
    route call dest-table RT_FROM_PSTN

  interface isdn IF_TE_04
    route call dest-table RT_FROM_PSTN

  interface sip IF_SIP_OCS
    bind context sip-gateway GW_OCS
    route call dest-table RT_TO_PSTN_OCS
# Enter below the OCS server IP
    remote <Domain or IP>
    early-connect
    early-disconnect

  service hunt-group SER_HUNT_PSTN
    cyclic
    timeout 6
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable
    route call 1 dest-interface IF_TE_00
    route call 2 dest-interface IF_TE_01
    route call 3 dest-interface IF_TE_02
    route call 4 dest-interface IF_TE_03
    route call 5 dest-interface IF_TE_04

context cs switch
  no shutdown

location-service SER_OCS
  domain 1 <Domain or IP> <Port>

  identity-group default

    call outbound
      preferred-transport-protocol tcp

context sip-gateway GW_OCS

  interface IF_IP_LAN
    bind interface IF_IP_LAN context router port 5060

context sip-gateway GW_OCS
  bind location-service SER_OCS
  no shutdown

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

port ethernet 0 1
  medium auto
  encapsulation ip
  bind interface IF_IP_LAN router
  no shutdown

port bri 0 0
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface IF_TE_00 switch

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface IF_TE_01 switch

port bri 0 1
  no shutdown

port bri 0 2
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface IF_TE_02 switch

port bri 0 2
  no shutdown

port bri 0 3
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface IF_TE_03 switch

port bri 0 3
  no shutdown

port bri 0 4
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface IF_TE_04 switch

port bri 0 4
  no shutdown

User Rating
This answer was helpful This answer was not helpful (8796 vote(s)) 
User Comments  Add a Comment )

 
 
Products
Unified Communications
> VoIP Adapters
> Fax Adapters
> VoIP Gateways
> VoIP Routers
> VoIP IADs - Integrated Access Devices
> Enterprise Session Border Controllers
> Media Gateways
> SS7 Gateways
> Secure End Points (SIP Phones)
> VoIP Public Address & Mass Notification
Software and Cloud
> Virtual SBC | Virtualized SBC
> Virtual Access Router
> VPN Server
> IPv6 IPv4 Converter
> Intelligent Edge Orchestration
> NFV & SDN
Networking & Access
> Ethernet Extenders
> Industrial Switches
> Industrial Ethernet
> Unmanaged Industrial Ethernet Switches
> Managed Industrial Ethernet Switches
> Industrial PoE Switches
> PoE Extenders
> Industrial Network Solutions
> xDSL Products | DSL Modems, DSL VoIP, DSL Router Modems
> Routers
> Dial-Up Access

Sunset Products
 
Datacom Industrial Connectivity
> Industrial PoE Products
> Ethernet Over Fiber
> Line Drivers / Short Range Modems
> Wireline Analog Modems
> Pro AV Live & Media Broadcast Systems
> Fiber Serial DataCom (RS-232/422/530/188C)
> Fiber Telecom (T1/E1/PRI, Analog & ISDN)
> Multiplexers & Sharing Devices
> SFP (Small Form Pluggable) Modules and Kits
> Fiber Alarming, Notification, Relay & Control
> Other Network Extenders
> Defense/Security Fiber Communications
> Baluns
> Surge Protectors & Opto-Isolators
> DataTaps, Testers, Adapters, Rack Kits
> Interface Converters
> Fiber Rack & Enclosure Systems
> Fiber Repeaters & Wavelength Division Multiplexers (WDM)
> Waveguide RF Filters
Media Transport
> Artel Racks & Chassis Infrastructure
> Video Over IP Transport
> Video Over Fiber Transport
> Video, Audio & Data Over Fiber Transport
> Video & Audio Over Fiber Transport
> Ethernet Over Fiber Transport
> Serial DataComm Over Fiber Transport
> Video, Fiber Testers & Splitters
> Wave Division Multiplexers
> Ethernet Switches
> SFP Modules and Kits
 
Sales: [email protected] / +1 301 975 1000
Support: [email protected] / +1 301 975 1007
Join Our Email List
Have Us Contact You
or
Login Connect With Us
X Linkedin Facebook Youtube
 
     Patton LLC Copyright © 2025 All Rights Reserved.

|  Sitemap  |   Legal  |   Privacy Policy  |   Disclaimer  |    X  Facebook  YouTube  LinkedIn  RSS