Configuration Description
This example includes a basic configuration for the SmartNode SN5XXX to be used as a Session Border Controller in combination with two Cisco Call Manager (Primary and secondary). 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 SN5XXX with Cisco Unified Communications Manager (CUCM).
- SN5400 is used in this example.
Commande Sequence to copy, edit and paste
#----------------------------------------------------------------# # Cisco Call Manager # # # # This example includes a basic configuration for the SmartNode # # SN5XXX in combination with two Cisco Call Manager on the LAN # # side and a SIP trunk to a VoIP provider on the WAN side. # # 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; support@patton.com # # # # 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 profile napt NAPT_WAN
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 WAN ipaddress <YOUR_IP_WAN_SIDE> <YOUR_NETWORK_MASK> use profile napt NAPT_WAN tcp adjust-mss rx mtu tcp adjust-mss tx mtu 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
routing-table called-e164 RT_FROM_CISCO route default dest-interface INTERFACE_TO_VOIP_PROVIDER
routing-table called-e164 ROUTE_FROM_PROVIDER route default dest-service HUNT_In
interface sip INTERFACE_TO_VOIP_PROVIDER bind context sip-gateway VOIP_PROVIDER_GW route call dest-table ROUTE_FROM_PROVIDER remote <YOUR_VOIP_PROVIDER_IP> 5060
interface sip IF_CISCO_CM bind context sip-gateway CISCO_GW route call dest-table RT_FROM_CISCO remote <YOUR_PRIMARY_CALL_MANAGER_IP> 5060
interface sip IF_CISCO_CM2 bind context sip-gateway CISCO_GW route call dest-table RT_FROM_CISCO remote <YOUR_SECONDARY_CALL_MANAGER_IP> 5060
service hunt-group HUNT_In timeout 3 allows-push-back 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 drop-cause recovery-on-timer-expiry drop-cause no-route-to-destination drop-cause no-route-to-network drop-cause call-rejected drop-cause protocol-error route call 1 dest-interface IF_CISCO_CM route call 2 dest-interface IF_CISCO_CM2
context cs switch no shutdown authentication-service AUTH_VOIP_PROVIDER username <Username_SIP> password <Password_SIP>
location-service LOCATION_PROVIDER domain 1 <YOUR_VOIP_PROVIDER_IP>
identity-group default
authentication outbound authenticate 1 authentication-service AUTH_VOIP_PROVIDER username <Username_SIP>
registration outbound register auto context sip-gateway VOIP_PROVIDER_GW
interface IF_sip_interface_voip_provider bind interface WAN context router port 5060
context sip-gateway VOIP_PROVIDER_GW bind location-service LOCATION_PROVIDER no shutdown
context sip-gateway CISCO_GW
interface IF_sip_interface_Cicso bind interface LAN context router port 5060
context sip-gateway CISCO_GW 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 LAN router no shutdown
|