Knowledgebase

 
 
Knowledgebase Article
Knowledgebase > Unified Communications > SmartNode > SmartWare


SN49XX PRI template for SIP Trunking Cisco Call Manager, with authentication
Article Id #: 116

Configuration Description

This example includes a basic configuration for the SmartNode SN49XX/ISDN for use as a PRI gateway in combination with a Cisco Call Manager. The configuration contains variables in brackets <>. Please Replace the variables including the brackets. Unused lines or variables have to be commented out or deleted

This configuration note gives an overview about configuring the SN49XX/ISDN with Cisco Unified Communications Manager (CUCM).

Commande Sequence to copy, edit and paste

#----------------------------------------------------------------#
# Cisco Call Manager                                             #
#                                                                #
# This example includes a basic configuration for the SmartNode  #
# 49XX/ISDN in combination with a Cisco Call Manager with        #
# authentication and registration                                #
# This example can be used for other SmartNodes too. The only    #
# thing which needs to be adjusted, are the ports and interfaces #
# as far as required.                                            #
#                                                                #
# Author: Olivier Gaudet                                         #
# Patton-Inalp Neworks                                           #
# CH-3172 Niederwangen                                           #
# www.patton.com; [email protected]                             #
#                                                                #
# Date: 17/11/2011                                               #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
clock local default-offset +00:00
dns-client server <Primary_DNS_Server_If_you_use_hostnames>
dns-client server <Secondary_DNS_Server_If_you_use_hostnames>
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4

system

  ic voice 0
 
system
  clock-source 1 e1t1 0 0
  clock-source 1 e1t1 0 1
  clock-source 1 e1t1 0 2
  clock-source 1 e1t1 0 3

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
  fax transmission 1 relay t38-udp
  fax transmission 2 bypass g711alaw64k
  fax redundancy low-speed 2 high-speed 1
  fax bypass-method nse
  modem transmission 1 bypass g711alaw64k
  modem bypass-method nse

profile pstn default

profile sip default
  no autonomous-transitioning

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface LAN
    ipaddress <YOUR_IP_LAN_SIDE> <YOUR_NETWORK_MASK>
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  route 0.0.0.0 0.0.0.0 <YOUR_DEFAULT_GATEWAY> 0

context cs switch
  digit-collection timeout 3

  routing-table called-e164 RT_FROM_PSTN
    route default dest-interface IF_CISCO_CM

  routing-table called-e164 RT_FROM_CISCO
    route default dest-service HUNT_PSTN

  interface isdn IF_ISDN_00
    route call dest-table RT_FROM_PSTN
   
  interface isdn IF_ISDN_01
    route call dest-table RT_FROM_PSTN

  interface isdn IF_ISDN_02
    route call dest-table RT_FROM_PSTN
 
  interface isdn IF_ISDN_03
    route call dest-table RT_FROM_PSTN   
   
  interface sip IF_CISCO_CM
    bind context sip-gateway CISCO_GW
    route call dest-table RT_FROM_CISCO
    remote <YOUR_CALL_MANAGER_IP> 5060
   
  service hunt-group HUNT_PSTN
    timeout 3
    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_ISDN_00
    route call 2 dest-interface IF_ISDN_01
    route call 3 dest-interface IF_ISDN_02
    route call 3 dest-interface IF_ISDN_03
   
context cs switch
  no shutdown
 
authentication-service AUTH_SVC
  username <Username_SIP> password <Password_SIP>

location-service LOCATION_SVC
  domain 1 <YOUR_CALL_MANAGER_IP>

  identity-group default

    authentication outbound
      authenticate 1 authentication-service AUTH_SVC username <Username_SIP>

    registration outbound
      register auto
     
context sip-gateway CISCO_GW

  interface IF_sip_interface_GW
    bind interface LAN context router port 5060

context sip-gateway CISCO_GW
  bind location-service LOCATION_SVC
  no shutdown

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

port e1t1 0 0
  port-type e1
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    uni-side auto
    encapsulation q931

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

port e1t1 0 1
  no shutdown

port e1t1 0 1
  port-type e1
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    uni-side auto
    encapsulation q931

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

port e1t1 0 1
  no shutdown

port e1t1 0 2
  port-type e1
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    uni-side auto
    encapsulation q931

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

port e1t1 0 2
  no shutdown

port e1t1 0 3
  port-type e1
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    uni-side auto
    encapsulation q931

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

port e1t1 0 3
  no shutdown

User Rating
This answer was helpful This answer was not helpful (8783 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 © 2022 All Rights Reserved.

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