Below is a sample configuration from the 24 port SN4324/JS to a generic SIP server.


PBX IP =  10.13.0.100
SmartNode IP = 10.13.0.10
Default Gateway = 10.13.0.1
DNS = 10.13.0.1

Usernames & passwords are sequential from 110 up


Hint: search & replace the IP addresses above within notepad or similar text editor to customise.


#----------------------------------------------------------------#
#                                                                #
# SN4324/JS                                                      #
# R6.6 2014-11-06 H323 SIP FXS FXO                               #
# 2015-01-14T03:34:55                                            #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
clock local default-offset +00:00
dns-client server 10.13.0.1
webserver port 80 language en

system

  ic voice 0
    low-bitrate-codec g729

profile ppp default

profile call-progress-tone defaultDialtone
  play 1 5000 400 -15

profile call-progress-tone defaultAlertingtone
  pause 1 200
  play 2 400 400 -15 450 -15
  pause 3 2000

profile call-progress-tone defaultBusytone
  play 1 500 400 -15
  pause 2 500

profile call-progress-tone defaultReleasetone
  play 1 500 400 -15
  pause 2 500

profile call-progress-tone defaultCongestiontone
  play 1 500 400 -15
  pause 2 500

profile call-progress-tone defaultWaitingtone
  play 1 200 400 -15
  pause 2 200

profile call-progress-tone defaultSDTone
  play 1 10000 425 -19 620 -19

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 10 tx-length 10

profile pstn default

profile ringing-cadence default
  play 1 1000
  pause 2 4000

profile sip default
  no autonomous-transitioning

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface IF_IP_LAN
    ipaddress 10.13.0.20 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  route 0.0.0.0 0.0.0.0 10.13.0.1 0

context cs switch

  routing-table called-e164 RT_DIGITCOLLECTION
    route .T2 dest-interface IF_SIP_PBX MT_EXT_TO_NAME

  routing-table called-e164 RT_TO_FXS
    route 110 dest-interface IF_FXS_1
    route 111 dest-interface IF_FXS_2
    route 112 dest-interface IF_FXS_3
    route 113 dest-interface IF_FXS_4
    route 114 dest-interface IF_FXS_5
    route 115 dest-interface IF_FXS_6
    route 116 dest-interface IF_FXS_7
    route 117 dest-interface IF_FXS_8
    route 118 dest-interface IF_FXS_9
    route 119 dest-interface IF_FXS_10
    route 120 dest-interface IF_FXS_11
    route 121 dest-interface IF_FXS_12
    route 122 dest-interface IF_FXS_13
    route 123 dest-interface IF_FXS_14
    route 124 dest-interface IF_FXS_15
    route 125 dest-interface IF_FXS_16
    route 126 dest-interface IF_FXS_17
    route 127 dest-interface IF_FXS_18
    route 128 dest-interface IF_FXS_19
    route 129 dest-interface IF_FXS_20
    route 130 dest-interface IF_FXS_21
    route 131 dest-interface IF_FXS_22
    route 132 dest-interface IF_FXS_23
    route 133 dest-interface IF_FXS_24

# Set your preferred CLID names here e.g. Joe Bloggs, Reception etc. Note that the PBX may over write this with its own CLID
  mapping-table calling-e164 to calling-name MT_EXT_TO_NAME
    map 110 to " "
    map 111 to " "
    map 112 to " "
    map 113 to " "
    map 114 to " "
    map 115 to " "
    map 116 to " "
    map 117 to " "
    map 118 to " "
    map 119 to " "
    map 120 to " "
    map 121 to " "
    map 122 to " "
    map 123 to " "
    map 124 to " "
    map 125 to " "
    map 126 to " "
    map 127 to " "
    map 128 to " "
    map 129 to " "
    map 130 to " "
    map 131 to " "
    map 132 to " "
    map 133 to " "

  interface sip IF_SIP_PBX
    bind context sip-gateway GW_SIP_ALL_EXTENSIONS
    route call dest-table RT_TO_FXS
    remote 10.13.0.100 5060
    local 10.13.0.20

  interface fxs IF_FXS_1
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 110

  interface fxs IF_FXS_2
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 111

  interface fxs IF_FXS_3
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 112

  interface fxs IF_FXS_4
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 113

  interface fxs IF_FXS_5
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 114

  interface fxs IF_FXS_6
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 115

  interface fxs IF_FXS_7
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 116

  interface fxs IF_FXS_8
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 117

  interface fxs IF_FXS_9
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 118

  interface fxs IF_FXS_10
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 119

  interface fxs IF_FXS_11
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 120

  interface fxs IF_FXS_12
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 121

  interface fxs IF_FXS_13
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 122

  interface fxs IF_FXS_14
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 123

  interface fxs IF_FXS_15
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 124

  interface fxs IF_FXS_16
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 125

  interface fxs IF_FXS_17
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 126

  interface fxs IF_FXS_18
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 127

  interface fxs IF_FXS_19
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 128

  interface fxs IF_FXS_20
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 129

  interface fxs IF_FXS_21
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 130

  interface fxs IF_FXS_22
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 131

  interface fxs IF_FXS_23
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 132

  interface fxs IF_FXS_24
    route call dest-table RT_DIGITCOLLECTION
    message-waiting-indication stutter-dial-tone
    message-waiting-indication frequency-shift-keying
    call-transfer
    caller-id-presentation pre-ring
    subscriber-number 133

context cs switch
  no shutdown

authentication-service AS_ALL_EXTENSIONS
  username 110 password 110
  username 111 password 111
  username 112 password 112
  username 113 password 113
  username 114 password 114
  username 115 password 115
  username 116 password 116
  username 117 password 117
  username 118 password 118
  username 119 password 119
  username 120 password 120
  username 121 password 121
  username 122 password 122
  username 123 password 123
  username 124 password 124
  username 125 password 125
  username 126 password 126
  username 127 password 127
  username 128 password 128
  username 129 password 129
  username 130 password 130
  username 131 password 131
  username 132 password 132
  username 133 password 133  
  
location-service LS_ALL_EXTENSIONS
  domain 1 10.13.0.100 5060

  identity-group default
  identity 110

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 110

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 111

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 111

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 112

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 112

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 113

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 113

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 114

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 114

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 115

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 115

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 116

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 116

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 117

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 117

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 118

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 118

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 119

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 119

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 120

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 120

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 121

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 121

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 122

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 122

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 123

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 123

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 124

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 124

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 125

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 125

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 126

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 126

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 127

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 127

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 128

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 128

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 129

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 129

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 130

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 130

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 131

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 131

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 132

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 132

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

  identity 133

    authentication outbound
      authenticate 1 authentication-service AS_ALL_EXTENSIONS username 133

    registration outbound
      registrar 10.13.0.100 5060
      lifetime 300
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

context sip-gateway GW_SIP_ALL_EXTENSIONS

  interface LAN
    bind interface IF_IP_LAN context router port 5060

context sip-gateway GW_SIP_ALL_EXTENSIONS
  bind location-service LS_ALL_EXTENSIONS
  no shutdown

port ethernet 0 0
  medium auto
  encapsulation ip
  bind interface IF_IP_LAN router
  no shutdown

port fxs 0 0
  encapsulation cc-fxs
  bind interface IF_FXS_1 switch
  no shutdown

port fxs 0 1
  encapsulation cc-fxs
  bind interface IF_FXS_2 switch
  no shutdown

port fxs 0 2
  encapsulation cc-fxs
  bind interface IF_FXS_3 switch
  no shutdown

port fxs 0 3
  encapsulation cc-fxs
  bind interface IF_FXS_4 switch
  no shutdown

port fxs 0 4
  encapsulation cc-fxs
  bind interface IF_FXS_5 switch
  no shutdown

port fxs 0 5
  encapsulation cc-fxs
  bind interface IF_FXS_6 switch
  no shutdown

port fxs 0 6
  encapsulation cc-fxs
  bind interface IF_FXS_7 switch
  no shutdown

port fxs 0 7
  encapsulation cc-fxs
  bind interface IF_FXS_8 switch
  no shutdown

port fxs 0 8
  encapsulation cc-fxs
  bind interface IF_FXS_9 switch
  no shutdown

port fxs 0 9
  encapsulation cc-fxs
  bind interface IF_FXS_10 switch
  no shutdown

port fxs 0 10
  encapsulation cc-fxs
  bind interface IF_FXS_11 switch
  no shutdown

port fxs 0 11
  encapsulation cc-fxs
  bind interface IF_FXS_12 switch
  no shutdown

port fxs 0 12
  encapsulation cc-fxs
  bind interface IF_FXS_13 switch
  no shutdown

port fxs 0 13
  encapsulation cc-fxs
  bind interface IF_FXS_14 switch
  no shutdown

port fxs 0 14
  encapsulation cc-fxs
  bind interface IF_FXS_15 switch
  no shutdown

port fxs 0 15
  encapsulation cc-fxs
  bind interface IF_FXS_16 switch
  no shutdown

port fxs 0 16
  encapsulation cc-fxs
  bind interface IF_FXS_17 switch
  no shutdown

port fxs 0 17
  encapsulation cc-fxs
  bind interface IF_FXS_18 switch
  no shutdown

port fxs 0 18
  encapsulation cc-fxs
  bind interface IF_FXS_19 switch
  no shutdown

port fxs 0 19
  encapsulation cc-fxs
  bind interface IF_FXS_20 switch
  no shutdown

port fxs 0 20
  encapsulation cc-fxs
  bind interface IF_FXS_21 switch
  no shutdown

port fxs 0 21
  encapsulation cc-fxs
  bind interface IF_FXS_22 switch
  no shutdown

port fxs 0 22
  encapsulation cc-fxs
  bind interface IF_FXS_23 switch
  no shutdown

port fxs 0 23
  encapsulation cc-fxs
  bind interface IF_FXS_24 switch
  no shutdown