Configuration Description
SN46X8 SMARTWARE 5.X Sample configuration SmartNode connected as trunk gateway between a SIP network and PBX with 4 S0 port. The Port S0 slot 0 port 0 is configured as fallback and sync-port. It is configured in the user mode and should be connected to a PSTN. The ports slot 0 port 1 to 4 are configured as net and should be connected to a PBX. Not all the ports have to be connected
Command Sequence to copy, edit and paste
#-----------------------------------------------------------------# # # # SN46X8 # # SMARTWARE 5.X # # # # Sample configuration of context CS and ISDN ports only. # # Without gateway and IP configuration. # # # # SmartNode connected as trunk gateway between a SIP network # # and ISDN PBX with 4 S0 port. The Port S0 slot 0 port 0 (BRI 0/0)# # is configured as fallback and sync-port. It is configured in # # user mode and should be connected to a PSTN. # # The ports slot 0 port 1 to 4 are configured as net and should # # be connected to a PBX. Not all the ports have to be connected # # # # DATE: 2011-01-05 # # AUTHOR: Thomas Tlapak # # PATTON-INALP-NETWORKS; CH-3172 NIEDERWANGEN # # WWW.PATTON.COM WWW.INALP.COM # # # # # #-----------------------------------------------------------------#
system clock-source 1 bri 0 0
context cs switch
routing-table called-e164 RT_CDPN_OUT route .T dest-service SERV_HG_2_OUT
interface sip IF_SIP # Enter below the context sip-gateway name bind context sip-gateway <gateway name> # Enter below the SIP server / Softswitch IP address or FQDN remote <0.0.0.0> # Enter below the SIP account username, to be used for authentication address-translation outgoing-call from-header user-part fix <account number> route call dest-service SERV_HG_2_PBX
interface isdn IF_ISDN_00 route call dest-service SERV_HG_2_PBX
interface isdn IF_ISDN_01 route call dest-table RT_CDPN_OUT
interface isdn IF_ISDN_02 route call dest-table RT_CDPN_OUT
interface isdn IF_ISDN_03 route call dest-table RT_CDPN_OUT
interface isdn IF_ISDN_04 route call dest-table RT_CDPN_OUT service hunt-group SERV_HG_2_OUT 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_00
service hunt-group SERV_HG_2_PBX 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_01 route call 2 dest-interface IF_ISDN_02 route call 2 dest-interface IF_ISDN_03 route call 2 dest-interface IF_ISDN_04 context cs switch no shutdown
port bri 0 0 clock auto encapsulation q921
q921 protocol pp uni-side auto encapsulation q931
q931 protocol dss1 uni-side user encapsulation cc-isdn bind interface IF_ISDN_00
port bri 0 0 no shutdown
port bri 0 1 clock auto encapsulation q921
q921 protocol pp uni-side auto encapsulation q931
q931 protocol dss1 uni-side net encapsulation cc-isdn bind interface IF_ISDN_01
port bri 0 1 no shutdown
port bri 0 2 clock auto encapsulation q921
q921 protocol pp uni-side auto encapsulation q931
q931 protocol dss1 uni-side net encapsulation cc-isdn bind interface IF_ISDN_02
port bri 0 2 no shutdown
port bri 0 3 clock auto encapsulation q921
q921 protocol pp uni-side auto encapsulation q931
q931 protocol dss1 uni-side net encapsulation cc-isdn bind interface IF_ISDN_03
port bri 0 3 no shutdown
port bri 0 4 clock auto encapsulation q921
q921 protocol pp uni-side auto encapsulation q931
q931 protocol dss1 uni-side net encapsulation cc-isdn bind interface IF_ISDN_04
port bri 0 4 no shutdown
|