#----------------------------------------------------------------# # # # SN-DTA/1BIS2V of SN-DTA/2BIS4V # # R6.2 2012-11-12 H323 SIP BRI # # # # Copyright (c) 2017 BusinessCom # # # # SIP.PROVIDER.NL vervangen door provider gegevens # # GEBRUIKERSNAAM en WACHTWOORD vervangen door provider gegevens # # 413724299 vervangen door de clip van klant # # # # LAN aansluiting gebruiken voor het netwerk moet DHCP krijgen # # Als dit een vast IP-adres wordt dan ook # # dns-relay vervangen door dns-client server # # BRI 0/0 en BRI 0/1 staan nu op P-P # # voor P-MP 2x regel met 'protocol pp' verwijderen bij port BRI # # # # V15 default CLIP toegevoegd # # V16 0031 omvorming naar 31 toegevoegd # # # #----------------------------------------------------------------# 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-relay webserver port 80 language en sntp-client sntp-client server primary nl.pool.ntp.org port 123 version 4 system ic voice 0 system clock-source 1 bri 0 0 clock-source 2 bri 0 1 profile napt NAPT_LAN 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 aaa default method 1 local method 2 none context ip router interface LAN ipaddress dhcp use profile napt NAPT_LAN tcp adjust-mss rx mtu tcp adjust-mss tx mtu 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_STARTALTIJDMET0 routing-table called-e164 CDPN_2_IP route .T dest-service OUT_IP MAP_OUT interface isdn IF_ISDN_S0_0 route call dest-table CDPN_2_IP no call-waiting isdn-date-time interface isdn IF_ISDN_S0_1 route call dest-table CDPN_2_IP no call-waiting isdn-date-time interface sip IF_SIP bind context sip-gateway GW_SIP route call dest-table INCOMING privacy # voor RoutIT in de onderstaande regel het IPadres invullen aangezien de trunktest.voipit.nl NIET door DNS geresolved kan worden # remote SIP.PROVIDER.NL 5060 # voor providers die gebruik maken van het RoutIT netwerk moet de domain-name in registratie zien dus trunktest.voipit.nl vervangen # # address-translation outgoing-call from-header user-part call host-part fix trunktest.voipit.nl # # 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_0 route call 2 dest-interface IF_ISDN_S0_1 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 context cs switch no shutdown authentication-service AS_PROVIDER username GEBRUIKERSNAAM password WACHTWOORD location-service SL_PROVIDER domain 1 SIP.PROVIDER.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 # voor RoutIT in de onderstaande regel het IPadres invullen aangezien de trunktest.voipit.nl NIET door DNS geresolved kan worden # registrar SIP.PROVIDER.NL lifetime 300 register auto context sip-gateway GW_SIP interface BIND_LAN_SIP bind interface LAN 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 LAN router no shutdown port bri 0 0 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_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