Advertisement
mnakos

Patton smartnode sample config

Jun 17th, 2015
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.02 KB | None | 0 0
  1. #----------------------------------------------------------------#
  2. # #
  3. # SN4120/2BIS4V #
  4. # R6.3 2013-05-01 H323 SIP #
  5. # 2015-06-17T10:24:41 #
  6. # SN/00A0BA0B2431 #
  7. # Generated configuration file #
  8. # #
  9. #----------------------------------------------------------------#
  10.  
  11. cli version 3.20
  12. clock local default-offset +00:00
  13. timer PROVISIONING now + 3 minutes "provisioning execute PF_PROVISIONING_CONFIG"
  14. webserver port 80 language en
  15. sntp-client
  16. sntp-client server primary pool.ntp.org port 123 version 4
  17.  
  18. system
  19.  
  20. ic voice 0
  21. low-bitrate-codec g729
  22.  
  23. system
  24. clock-source 1 bri 0 0
  25. clock-source 2 bri 0 1
  26.  
  27. profile ppp default
  28.  
  29. profile tone-set default
  30.  
  31. profile voip default
  32. codec 1 g711alaw64k rx-length 20 tx-length 20
  33. codec 2 g711ulaw64k rx-length 20 tx-length 20
  34.  
  35. profile pstn default
  36.  
  37. profile sip default
  38. no autonomous-transitioning
  39.  
  40. profile aaa default
  41. method 1 local
  42. method 2 none
  43.  
  44. profile provisioning PF_PROVISIONING_CONFIG
  45. destination configuration
  46. location 1 http://redirect.patton.com/$(system.mac);mac=$(system.mac);serial=$(system.serial);hwMajor=$(system.hw.major);hwMinor=$(system.hw.minor);swMajor=$(system.sw.major);swMinor=$(system.sw.minor);swDate=$(system.sw.date);productName=$(system.product.name);cliMajor=$(cli.major);cliMinor=$(cli.minor);osName=$(cli.major>=4|Trinity|SmartWare);subDirTrinity=$(cli.major>=4|/Trinity);subDirSmartWare=$(cli.major<4|/SmartWare);dhcp66=$(dhcp.66);dhcp67=$(dhcp.67)
  47. location 2 $(dhcp.66)
  48. location 3 $(dhcp.66)/$(system.mac).cfg
  49. location 4 http://$(dhcp.66)/$(dhcp.67)
  50. location 5 http://$(dhcp.66)/$(system.mac).cfg
  51. location 6 tftp://$(dhcp.66)/$(dhcp.67)
  52. location 7 tftp://$(dhcp.66)/$(system.mac).cfg
  53. activation reload immediate
  54.  
  55. context ip router
  56.  
  57. interface eth0
  58. ipaddress 192.168.1.101 255.255.255.0
  59. tcp adjust-mss rx mtu
  60. tcp adjust-mss tx mtu
  61.  
  62. context cs switch
  63.  
  64. interface isdn PSTN_IF1
  65. route call dest-interface SIP_IF1
  66.  
  67. interface isdn PSTN_IF2
  68. route call dest-interface SIP_IF2
  69.  
  70. interface sip SIP_IF1
  71. bind context sip-gateway GW1
  72. route call dest-interface PSTN_IF1
  73. remote 192.168.1.100
  74.  
  75. interface sip SIP_IF2
  76. bind context sip-gateway GW1
  77. route call dest-interface PSTN_IF2
  78. remote 192.168.1.100
  79.  
  80. context cs switch
  81. no shutdown
  82.  
  83. authentication-service ISDN1
  84. username ISDN1 password 36ocYTYpKxk= encrypted
  85.  
  86. authentication-service ISDN2
  87. username ISDN2 password 36ocYTYpKxk= encrypted
  88.  
  89. location-service LOC_SVC1
  90. domain 1 192.168.1.100
  91.  
  92. identity ISDN1
  93.  
  94. authentication outbound
  95. authenticate 1 authentication-service ISDN1 username ISDN1
  96.  
  97. authentication inbound
  98. authenticate 1 authentication-service ISDN1 username ISDN1
  99.  
  100. registration outbound
  101. registrar 192.168.1.100
  102. preferred-transport-protocol udp
  103. proxy 1 192.168.1.100
  104. lifetime 300
  105. register auto
  106. retry-timeout on-system-error 10
  107. retry-timeout on-client-error 10
  108. retry-timeout on-server-error 10
  109.  
  110. registration inbound
  111. contact 192.168.1.100 switch SIP_IF1 priority 1000
  112. lifetime default 300 min 1 max 4294967295
  113.  
  114. location-service LOC_SVC2
  115. domain 1 192.168.1.100
  116.  
  117. identity ISDN2
  118.  
  119. authentication outbound
  120. authenticate 1 authentication-service ISDN2 username ISDN2
  121.  
  122. authentication inbound
  123. authenticate 1 authentication-service ISDN2 username ISDN2
  124.  
  125. registration outbound
  126. registrar 192.168.1.100
  127. preferred-transport-protocol udp
  128. proxy 1 192.168.1.100
  129. lifetime 300
  130. register auto
  131. retry-timeout on-system-error 10
  132. retry-timeout on-client-error 10
  133. retry-timeout on-server-error 10
  134.  
  135. registration inbound
  136. contact 192.168.1.100 switch SIP_IF2 priority 1000
  137. lifetime default 300 min 1 max 4294967295
  138.  
  139. context sip-gateway GW1
  140.  
  141. interface SIP_IF1
  142. bind interface eth0 context router port 5060
  143.  
  144. context sip-gateway GW1
  145. bind location-service LOC_SVC1
  146. bind location-service LOC_SVC2
  147. no shutdown
  148.  
  149. port ethernet 0 0
  150. medium auto
  151. encapsulation ip
  152. bind interface eth0 router
  153. no shutdown
  154.  
  155. port bri 0 0
  156. clock auto
  157. encapsulation q921
  158.  
  159. q921
  160. uni-side auto
  161. encapsulation q931
  162.  
  163. q931
  164. protocol dss1
  165. uni-side user
  166. bchan-number-order ascending
  167. encapsulation cc-isdn
  168. bind interface PSTN_IF1 switch
  169.  
  170. port bri 0 0
  171. no shutdown
  172.  
  173. port bri 0 1
  174. clock auto
  175. encapsulation q921
  176.  
  177. q921
  178. uni-side auto
  179. encapsulation q931
  180.  
  181. q931
  182. protocol dss1
  183. uni-side user
  184. bchan-number-order ascending
  185. encapsulation cc-isdn
  186. bind interface PSTN_IF2 switch
  187.  
  188. port bri 0 1
  189. no shutdown
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement