sasa2

configurazione patton

May 5th, 2011
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.95 KB | None | 0 0
  1. #----------------------------------------------------------------#
  2. # #
  3. # SN4638/5BIS #
  4. # R5.6 2010-09-10 H323 SIP BRI #
  5. # 1970-06-12T04:46:10 #
  6. # SN/00A0BA058B1B #
  7. # Generated configuration file #
  8. # #
  9. #----------------------------------------------------------------#
  10.  
  11. cli version 3.20
  12. clock local default-offset +00:00
  13. dns-relay
  14. webserver port 80 language en
  15. sntp-client
  16. sntp-client server primary 129.132.2.21 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. clock-source 3 bri 0 2
  27. clock-source 4 bri 0 3
  28. clock-source 5 bri 0 4
  29.  
  30. profile napt NAPT_WAN
  31.  
  32. profile ppp default
  33.  
  34. profile call-progress-tone IT_Dialtone
  35. play 1 200 425 -12
  36. pause 2 200
  37. play 3 600 425 -12
  38. pause 4 1000
  39.  
  40. profile call-progress-tone IT_Alertingtone
  41. play 1 1000 425 -12
  42. pause 2 4000
  43.  
  44. profile call-progress-tone IT_Busytone
  45. play 1 500 425 -12
  46. pause 2 500
  47.  
  48. profile tone-set default
  49. profile tone-set IT
  50. map call-progress-tone dial-tone IT_Dialtone
  51. map call-progress-tone ringback-tone IT_Alertingtone
  52. map call-progress-tone busy-tone IT_Busytone
  53. map call-progress-tone release-tone IT_Busytone
  54. map call-progress-tone congestion-tone IT_Busytone
  55.  
  56. profile voip default
  57. codec 1 g729 rx-length 20 tx-length 20
  58. codec 2 g711alaw64k rx-length 20 tx-length 20
  59. codec 3 g711ulaw64k rx-length 20 tx-length 20
  60.  
  61. profile pstn default
  62.  
  63. profile sip default
  64. no autonomous-transitioning
  65.  
  66. profile dhcp-server DHCPS_LAN
  67. network 192.168.1.0 255.255.255.0
  68. include 1 192.168.1.10 192.168.1.99
  69. lease 2 hours
  70. default-router 1 192.168.1.1
  71. domain-name-server 1 192.168.1.1
  72.  
  73. profile aaa default
  74. method 1 local
  75. method 2 none
  76.  
  77. context ip router
  78.  
  79. interface WAN
  80. ipaddress 192.168.10.1 255.255.255.0
  81. use profile napt NAPT_WAN
  82. tcp adjust-mss rx mtu
  83. tcp adjust-mss tx mtu
  84.  
  85. interface LAN
  86. ipaddress 192.168.1.253 255.255.255.0
  87. tcp adjust-mss rx mtu
  88. tcp adjust-mss tx mtu
  89.  
  90. context cs switch
  91. national-prefix 0
  92. international-prefix 00
  93.  
  94. routing-table called-e164 RT_OUT
  95. route .% dest-service SER_HG_ISDN speech
  96.  
  97. routing-table called-e164 RT_IN
  98. route .%T3 dest-interface IF_PBX
  99.  
  100. mapping-table itc to itc speech
  101. map default to speech
  102.  
  103. interface isdn IF_ISDN0
  104. route call dest-table RT_IN
  105. use profile tone-set IT
  106.  
  107. interface isdn IF_ISDN1
  108. route call dest-table RT_IN
  109. use profile tone-set IT
  110.  
  111. interface isdn IF_ISDN2
  112. route call dest-table RT_IN
  113. use profile tone-set IT
  114.  
  115. interface isdn IF_ISDN3
  116. route call dest-table RT_IN
  117. use profile tone-set IT
  118.  
  119. interface sip IF_PBX
  120. bind context sip-gateway GW_PBX
  121. route call dest-table RT_OUT
  122. remote 192.168.1.201
  123. early-disconnect
  124.  
  125. service hunt-group SER_HG_ISDN
  126. drop-cause normal-unspecified
  127. drop-cause no-circuit-channel-available
  128. drop-cause network-out-of-order
  129. drop-cause temporary-failure
  130. drop-cause switching-equipment-congestion
  131. drop-cause access-info-discarded
  132. drop-cause circuit-channel-not-available
  133. drop-cause resources-unavailable
  134. route call 1 dest-interface IF_ISDN0
  135. route call 2 dest-interface IF_ISDN1
  136. route call 3 dest-interface IF_ISDN2
  137. route call 4 dest-interface IF_ISDN3
  138.  
  139. context cs switch
  140. no shutdown
  141.  
  142. authentication-service AS_PBX
  143. username patton password 1fgsIV47VqQ= encrypted
  144.  
  145. location-service LS_PBX
  146. domain 1 192.168.1.201
  147. domain 2 192.168.1.251
  148.  
  149. identity patton
  150.  
  151. authentication outbound
  152. authenticate 1 authentication-service AS_PBX username patton
  153.  
  154. registration outbound
  155. registrar 192.168.1.201
  156. lifetime 3600
  157. register auto
  158. retry-timeout on-system-error 10
  159. retry-timeout on-client-error 10
  160. retry-timeout on-server-error 10
  161.  
  162. context sip-gateway GW_PBX
  163.  
  164. interface IF_PBX
  165. bind interface LAN context router port 5060
  166.  
  167. context sip-gateway GW_PBX
  168. bind location-service LS_PBX
  169. no shutdown
  170.  
  171. port ethernet 0 0
  172. medium auto
  173. encapsulation ip
  174. bind interface WAN router
  175. no shutdown
  176.  
  177. port ethernet 0 1
  178. medium auto
  179. encapsulation ip
  180. bind interface LAN router
  181. no shutdown
  182.  
  183. port bri 0 0
  184. clock auto
  185. encapsulation q921
  186.  
  187. q921
  188. protocol pp
  189. uni-side auto
  190. encapsulation q931
  191.  
  192. q931
  193. protocol dss1
  194. uni-side user
  195. bchan-number-order ascending
  196. encapsulation cc-isdn
  197. bind interface IF_ISDN0 switch
  198.  
  199. port bri 0 0
  200. no shutdown
  201.  
  202. port bri 0 1
  203. clock auto
  204. encapsulation q921
  205.  
  206. q921
  207. protocol pp
  208. uni-side auto
  209. encapsulation q931
  210.  
  211. q931
  212. protocol dss1
  213. uni-side user
  214. bchan-number-order ascending
  215. encapsulation cc-isdn
  216. bind interface IF_ISDN1 switch
  217.  
  218. port bri 0 1
  219. no shutdown
  220.  
  221. port bri 0 2
  222. clock auto
  223. encapsulation q921
  224.  
  225. q921
  226. protocol pp
  227. uni-side auto
  228. encapsulation q931
  229.  
  230. q931
  231. protocol dss1
  232. uni-side user
  233. bchan-number-order ascending
  234. encapsulation cc-isdn
  235. bind interface IF_ISDN2 switch
  236.  
  237. port bri 0 2
  238. no shutdown
  239.  
  240. port bri 0 3
  241. clock auto
  242. encapsulation q921
  243.  
  244. q921
  245. protocol pp
  246. uni-side auto
  247. encapsulation q931
  248.  
  249. q931
  250. protocol dss1
  251. uni-side user
  252. bchan-number-order ascending
  253. encapsulation cc-isdn
  254. bind interface IF_ISDN3 switch
  255.  
  256. port bri 0 3
  257. shutdown
  258.  
  259. port bri 0 4
  260. clock auto
  261. encapsulation q921
  262.  
  263. q921
  264. uni-side auto
  265. encapsulation q931
  266.  
  267. q931
  268. protocol dss1
  269. uni-side net
  270. bchan-number-order ascending
  271.  
  272. port bri 0 4
  273. shutdown
Advertisement
Add Comment
Please, Sign In to add comment