Knowledgebase |
Knowledgebase > Unified Communications > SmartNode > SmartWare |
|
||
SmartNode SN-DTA with SIP Trunk and PSTN fallback | |||
Article Id #: 171 | |||
This is a configuration template for an SN-DTA with registration to a SIP Telephony provider. With this config all national and international calls as well as the local calls will be routed to the SIP provider. All emergency and special Service Numbers like 110 = police Germany, 112 = firebrigade, Health Care Germany, 18XX = costable Service numbers are going out to the local PSTN ISDN interface (BRI 0 1). In case of a SIP failure, all calls will be routed to the local PSTN ISDN line. See below the command sequence to copy, edit and paste. Make sure that the indicated fields are replaced including the brackets < >. #----------------------------------------------------------------# # # # SN-DTA/2BIS/EUI # # R6.X and higher # # # # DATE: 2013-08-07 # # AUTHOR: M. Aeberhard # # PATTON-INALP-NETWORKS; CH-3172 NIEDERWANGEN # # WWW.PATTON.COM WWW.INALP.COM # # # #----------------------------------------------------------------# cli version 3.20 # Set below the DNS server IP address dns-client server <ip-address> webserver port 80 language en sntp-client server primary pool.ntp.org port 123 version 4 system ic voice 0 # Remove the below hash keys, if no PSTN line is connected to BRI port 0 1 #system # bri power-feed 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 rx-length 20 tx-length 20 fax bypass-method signaling modem transmission 1 bypass g711alaw64k rx-length 20 tx-length 20 modem bypass-method signaling profile pstn default profile sip default profile sip SIP 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 1 minutes default-router 1 192.168.1.1 domain-name-server 1 192.168.1.1 profile authentication default method 1 local method 2 none context ip router interface IF_IP_WAN # Set the Smartnode WAN IP ipaddress <ip-address> <subnet-mask> interface IF_IP_LAN ipaddress 192.168.1.1 255.255.255.0 context ip router dhcp-server use profile DHCPS_LAN # Set the default gateway IP address route 0.0.0.0 0.0.0.0 <default-gateway> 0 context cs switch routing-table called-e164 RT_ISDN_TO_SIP route 1[1-9].T3 dest-interface IF_ISDN_00_PSTN route [2-9].T3 dest-service SERV_HG_OUT route default dest-service SERV_HG_OUT interface isdn IF_ISDN_00_PSTN route call dest-interface IF_ISDN_01_PHONE interface isdn IF_ISDN_01_PHONE route call dest-table RT_ISDN_TO_SIP interface sip IF_SIP_SIP bind context sip-gateway GW_SIP # Set the SIP providers Domainname or IP Address remote <IP address or Domainname> route call dest-interface IF_ISDN_01_PHONE # Set the SIP user identity below address-translation outgoing-call from-header user-part fix <user-id SIP> host-part call service hunt-group SERV_HG_OUT timeout 5 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_SIP_SIP route call 2 dest-interface IF_ISDN_00_PSTN context cs switch no shutdown authentication-service AUTH_SVC # Set username and password accordingly username <user-id> password <SIP authentification-password> location-service LOCATION_SVC # Set the SIP providers Domainname or IP Address domain 1 <SIP Provider Domain> # Set the SIP user identity below (usually the phone number of that account) identity <user-id SIP> authentication outbound # Set the SIP user identity below authenticate 1 authentication-service AUTH_SVC registration outbound # Set the SIP registrar IP or DNS registrar 1 <SIP Provider Registrar Address> register auto context sip-gateway GW_SIP interface IF_GW_SIP bind interface IF_IP_WAN context router port 5060 context sip-gateway GW_SIP bind location-service LOCATION_SVC no shutdown port ethernet 0 0 encapsulation ip bind interface IF_IP_WAN router no shutdown port ethernet 0 1 encapsulation ip bind interface IF_IP_LAN router no shutdown port bri 0 0 clock auto encapsulation q921 q921 protocol pmp uni-side auto encapsulation q931 q931 protocol dss1 uni-side net encapsulation cc-isdn bind interface IF_ISDN_01_PHONE switch port bri 0 0 no shutdown port bri 0 1 clock auto encapsulation q921 q921 protocol pmp uni-side auto encapsulation q931 q931 protocol dss1 uni-side user encapsulation cc-isdn bind interface IF_ISDN_00_PSTN switch port bri 0 1 no shutdown |
|||
User Rating | |||
![]() |
![]() |
(8781 vote(s))
![]() ![]() ![]() ![]() ![]() |
|
User Comments ( Add a Comment ) |
Company > Contact Us > About Patton > Jobs > Capabilities > Quality & Responsibility > Legal News & Events > Press Room/Releases > Training & Events > Library/Downloads |
| Sitemap |
Legal |
Privacy Policy |
Disclaimer |