#--------------------------------------------------------------------# # # # SN463x # # R6.10 2018-01-09 H323 SIP BRI # # # # Copyright (c) 2018 BusinessCom # # # # SIP.PROVIDER.NL vervangen door provider gegevens # # GEBRUIKERSNAAM (3X) en WACHTWOORD vervangen door provider gegevens # # 413724299 vervangen door de clip van klant # # WAN aansluiting gebruiken voor het netwerk # # 192.168.3.99 vervangen door het te gebruiken IP-adres # # 192.168.3.1 vervangen door de te gebruiken default gateway # # WAN is ETH0/0 # # LAN is ETH0/1 # # LAN aansluiting levert DHCP en is voor servicelaptop # # LAN staat vast op 192.168.123.1 dit en DHCP aanpassen als dit # # botst met de ip-reeks op de WAN poort # # Poorten BRI 0/1 tm 0/4 gebruiken staan nu op P-P # # Poort BRI 0/0 is voor een nood ISDN2 P-P # # Zonder spanning zit BRI 0/0 via relais doorgelust naar BRI 0/1 # # # # V11 default CLIP toegevoegd en start met 31 ipv 0 # # V11 default nationaal bellen met 31 # #--------------------------------------------------------------------# cli version 3.20 clock local default-offset +01:00 clock local dst-rule NETHERLANDS +02:00 from 02:00 mar 31st previous sunday until 03:00 oct 31st previous sunday dns-client server 208.67.222.222 dns-client server 208.67.220.220 dns-relay webserver port 80 language en sntp-client sntp-client server primary nl.pool.ntp.org port 123 version 4 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 codec 2 g711ulaw64k rx-length 20 tx-length 20 profile pstn default profile sip default no autonomous-transitioning profile dhcp-server DHCPS_LAN network 192.168.123.0 255.255.255.0 include 1 192.168.123.10 192.168.123.99 lease 2 hours default-router 1 192.168.123.1 domain-name-server 1 192.168.123.1 profile aaa default method 1 local method 2 none context ip router interface WAN ipaddress 192.168.3.99 255.255.255.0 use profile napt NAPT_WAN tcp adjust-mss rx mtu tcp adjust-mss tx mtu interface LAN ipaddress 192.168.123.1 255.255.255.0 tcp adjust-mss rx mtu tcp adjust-mss tx mtu context ip router dhcp-server use profile DHCPS_LAN route 0.0.0.0 0.0.0.0 192.168.3.1 0 context cs switch national-prefix 0 international-prefix 00 routing-table called-e164 INCOMING route default dest-service OUT_ISDN MAP_IN mapping-table called-e164 to called-e164 MAP_CALLED_IN map 0031(.........) to \1 map 31(.........) to \1 map 0(.........) to \1 mapping-table calling-e164 to calling-e164 MAP_CALLING_IN map 0031(.........) to 0\1 map 31(.........) to 0\1 mapping-table called-type-of-number to called-type-of-number MAP_TON_IN map default to national mapping-table called-numbering-plan to called-numbering-plan MAP_NRPLAN_IN map default to isdn-telephony mapping-table calling-e164 to calling-e164 MAP_CALLING_STARTALTIJDMET0 map 31(.........) to 0\1 map 0(.........) to 0\1 map (.........) to 0\1 map default to 0413724299 mapping-table calling-e164 to calling-e164 MAP_CALLING_STARTALTIJDMET31 map 31(.........) to 31\1 map 0(.........) to 31\1 map (.........) to 31\1 map default to 31413724299 mapping-table called-e164 to called-e164 MAP_CALLED_STARTNATIONAALMET31 map 0031(.%) to 31\1 map 00(.%) to 00\1 map 0(.%) to 31\1 mapping-table called-e164 to called-e164 MAP_CALLED_VOEGKENGETALTOE map ([2-9].%) to 0413\1 complex-function MAP_IN execute 1 MAP_CALLED_IN execute 2 MAP_CALLING_IN execute 3 MAP_TON_IN execute 4 MAP_NRPLAN_IN complex-function MAP_OUT execute 1 MAP_CALLING_STARTALTIJDMET31 execute 2 MAP_CALLED_STARTNATIONAALMET31 routing-table called-e164 CDPN_2_IP route .T dest-service OUT_IP MAP_OUT interface isdn IF_ISDN_S0_0 route call dest-service OUT_ISDN interface isdn IF_ISDN_S0_1 route call dest-table CDPN_2_IP isdn-date-time interface isdn IF_ISDN_S0_2 route call dest-table CDPN_2_IP isdn-date-time interface isdn IF_ISDN_S0_3 route call dest-table CDPN_2_IP isdn-date-time interface isdn IF_ISDN_S0_4 route call dest-table CDPN_2_IP isdn-date-time interface sip IF_SIP bind context sip-gateway GW_SIP remote sip.bcom.nl 5060 route call dest-table INCOMING privacy # Om een vast nummer mee naar buiten te sturen hier 31413724200 als voorbeeld # # address-translation outgoing-call from-header user-part fix 31413724200 host-part call # service hunt-group OUT_ISDN 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_S0_1 route call 2 dest-interface IF_ISDN_S0_2 route call 3 dest-interface IF_ISDN_S0_3 route call 4 dest-interface IF_ISDN_S0_4 service hunt-group OUT_IP 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 route call 2 dest-interface IF_ISDN_S0_0 context cs switch no shutdown authentication-service AS_PROVIDER username GEBRUIKERSNAAM password WACHTWOORD location-service SL_PROVIDER domain 1 sip.bcom.nl identity-group default authentication outbound authenticate 1 authentication-service AS_PROVIDER username GEBRUIKERSNAAM identity GEBRUIKERSNAAM authentication outbound authenticate 1 authentication-service AS_PROVIDER registration outbound registrar sip.bcom.nl lifetime 180 register auto context sip-gateway GW_SIP interface BIND_WAN_SIP bind interface WAN context router port 5060 context sip-gateway GW_SIP bind location-service SL_PROVIDER 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 port bri 0 0 clock auto encapsulation q921 q921 protocol pp uni-side auto encapsulation q931 q931 protocol dss1 uni-side user bchan-number-order ascending encapsulation cc-isdn bind interface IF_ISDN_S0_0 switch port bri 0 0 no shutdown port bri 0 1 clock auto encapsulation q921 q921 permanent-layer2 protocol pp uni-side auto encapsulation q931 q931 protocol dss1 uni-side net bchan-number-order ascending encapsulation cc-isdn bind interface IF_ISDN_S0_1 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 net bchan-number-order ascending encapsulation cc-isdn bind interface IF_ISDN_S0_2 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 net bchan-number-order ascending encapsulation cc-isdn bind interface IF_ISDN_S0_3 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 net bchan-number-order ascending encapsulation cc-isdn bind interface IF_ISDN_S0_4 switch port bri 0 4 no shutdown