Advertisement
Guest User

ADTRAN904 SIP

a guest
Aug 8th, 2016
441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.96 KB | None | 0 0
  1. !
  2. !
  3. ! ADTRAN, Inc. OS version A2.03.00.SC.E
  4. ! Boot ROM version 14.04.00
  5. ! Platform: Total Access 904 (2nd Gen), part number 4212904L1
  6. ! Serial number CFG0624906
  7. !
  8. !
  9. hostname "Adtran904"
  10. enable password encrypted 1811a6d63083c248e8cb459f713417db690d
  11. !
  12. clock timezone -5-Eastern-Time
  13. !
  14. ip subnet-zero
  15. ip classless
  16. ip default-gateway 192.168.1.254
  17. ip routing
  18. !
  19.  
  20. !
  21.  
  22. ip name-server 8.8.8.8 192.168.1.1
  23. !
  24. !
  25. no auto-config
  26. !
  27. event-history on
  28. no logging forwarding
  29. no logging email
  30. !
  31. service password-encryption
  32. !
  33. username "" password encrypted ""
  34. username "" password encrypted ""
  35. !
  36. banner motd *
  37.  
  38.  
  39.  
  40. This system is for use of authorized users only.
  41. Anyone using this system expressly consents to monitoring.
  42. Evidence of criminal activity may be sent to law enforcement officials.
  43. *
  44. !
  45. !
  46. no ip firewall alg msn
  47. no ip firewall alg h323
  48. !
  49. aaa authentication username-prompt Username:
  50. aaa authentication password-prompt Password:
  51. !
  52. !
  53. !
  54. aaa accounting suppress null-username
  55. !
  56. no dot11ap access-point-control
  57. !
  58. !
  59. !
  60. !
  61. ip urlfilter top-website
  62. !
  63. !
  64. !
  65. !
  66. !
  67. qos map ConfigWizardQoSMap 20
  68. match dscp 46
  69. !
  70. !
  71. !
  72. !
  73. interface eth 0/1
  74. ip address 192.168.1.10 255.255.255.0
  75. media-gateway ip primary
  76. no shutdown
  77. !
  78. !
  79. !
  80. !
  81. interface t1 0/1
  82. shutdown
  83. !
  84. interface t1 0/2
  85. description PRI 1 to PBX
  86. lbo short 133
  87. tdm-group 1 timeslots 1-24 speed 64
  88. no shutdown
  89. !
  90. !
  91. interface pri 1
  92. description pri 1
  93. isdn name-delivery display
  94. connect t1 0/2 tdm-group 1
  95. role network b-channel-restarts disable
  96. no shutdown
  97. !
  98. !
  99. interface fxs 0/1
  100. no shutdown
  101. !
  102. interface fxs 0/2
  103. no shutdown
  104. !
  105. interface fxs 0/3
  106. no shutdown
  107. !
  108. interface fxs 0/4
  109. no shutdown
  110. !
  111. !
  112. isdn-group 1
  113. connect pri 1
  114. !
  115. isdn-number-template 1 prefix "" national 1-NXX-NXX-XXXX
  116. isdn-number-template 2 prefix "" subscriber NXX-NXX-XXXX
  117. isdn-number-template 3 prefix "" international 011-$
  118. !
  119. !
  120. !
  121. !
  122. !
  123. !
  124. !
  125. !
  126. ip route 0.0.0.0 0.0.0.0 192.168.1.254
  127. !
  128. no ip tftp server
  129. no ip tftp server overwrite
  130. ip http server 8080
  131. ip http session-timeout 3600
  132. ip http secure-server
  133. ip snmp agent
  134. no ip ftp server
  135. no ip scp server
  136. ip sntp server
  137. !
  138. !
  139. !
  140. !
  141. !
  142. !
  143. !
  144. !
  145. voice feature-mode network
  146. voice forward-mode network
  147. !
  148. !
  149. !
  150. voice spre 1 *XX
  151. !
  152. !
  153. !
  154. !
  155. voice dial-plan 1 local NXX-XXXX
  156. voice dial-plan 2 long-distance 1-NXX-NXX-XXXX
  157. voice dial-plan 3 international 011$
  158. !
  159. !
  160. !
  161. !
  162. voice codec-list "VOIP DEFAULT"
  163. default
  164. codec g711ulaw
  165. codec g711alaw
  166. !
  167. !
  168. !
  169. voice trunk T01 type sip
  170. description "SIP TRUNK NAME HERE"
  171. sip-server primary trunking.voipdnsservers.com
  172. registrar primary trunking.voipdnsservers.com
  173. outbound-proxy primary trunking.voipdnsservers.com
  174. authentication username "XXXXXXXXXX" password encrypted "2f2665ac55c73199b0a1e415dd4664bfcfd8"
  175. sip-keep-alive options 60
  176. register 4079102335
  177. codec-group "VOIP DEFAULT"
  178. default-ring-cadence internal
  179. !
  180. voice trunk T02 type isdn
  181. description "PRI to PBX"
  182. resource-selection linear ascending
  183. caller-id-override number-inbound 4079102335
  184. connect isdn-group 1
  185. alc
  186. t38 max-datagram 75
  187. rtp frame-packetization 30
  188. rtp delay-mode adaptive
  189. rtp dtmf-relay inband
  190. codec-group "VOIP DEFAULT"
  191. !
  192. !
  193. voice grouped-trunk SIP
  194. description "PRI PBX"
  195. trunk T01
  196. accept $ cost 0
  197. accept NXX-NXX-XXXX cost 0
  198. accept 1-NXX-NXX-XXXX cost 0
  199. accept 1-800-NXX-XXXX cost 0
  200. accept 1-888-NXX-XXXX cost 0
  201. accept 1-877-NXX-XXXX cost 0
  202. accept 1-866-NXX-XXXX cost 0
  203. accept 1-855-NXX-XXXX cost 0
  204. accept 011-$ cost 0
  205. accept 411 cost 0
  206. accept 611 cost 0
  207. accept 0-NXX-NXX-XXXX cost 0
  208. accept 10-10-XXX-$ cost 0
  209. accept NXX-XXXX cost 0
  210. reject NXX-976-XXXX
  211. reject 1-900-NXX-XXXX
  212. reject 1-976-NXX-XXXX
  213. reject 976-XXXX
  214. !
  215. !
  216. voice grouped-trunk ISDNPRI
  217. description "PRI PBX"
  218. trunk T02
  219. accept $ cost 0
  220. accept NXX-NXX-XXXX cost 0
  221. accept 1-NXX-NXX-XXXX cost 0
  222. accept 1-800-NXX-XXXX cost 0
  223. accept 1-888-NXX-XXXX cost 0
  224. accept 1-877-NXX-XXXX cost 0
  225. accept 1-866-NXX-XXXX cost 0
  226. accept 1-855-NXX-XXXX cost 0
  227. accept 011-$ cost 0
  228. accept 411 cost 0
  229. accept 611 cost 0
  230. accept 911 cost 0
  231. accept 0-NXX-NXX-XXXX cost 0
  232. accept 10-10-XXX-$ cost 0
  233. reject NXX-976-XXXX
  234. reject 1-900-NXX-XXXX
  235. reject 1-976-NXX-XXXX
  236. !
  237. !
  238. !
  239. !
  240. !
  241. !
  242.  
  243. !
  244.  
  245. ip sip
  246.  
  247. !
  248.  
  249. !
  250.  
  251. !
  252.  
  253. ip sip registrar
  254.  
  255. no ip sip registrar authenticate
  256.  
  257. !
  258.  
  259. !
  260.  
  261. !
  262.  
  263. !
  264.  
  265. !
  266.  
  267. !
  268.  
  269. !
  270.  
  271. !
  272.  
  273. !
  274.  
  275. !
  276.  
  277. !
  278.  
  279. !
  280.  
  281. !
  282. ip rtp quality-monitoring
  283. ip rtp quality-monitoring udp
  284. ip rtp quality-monitoring sip
  285. ip rtp quality-monitoring threshold lq-mos warning 3.50
  286. ip rtp quality-monitoring threshold pq-mos warning 3.50
  287. ip rtp quality-monitoring history max-streams 1000
  288. ip rtp quality-monitoring round-trip-delay icmp-timestamp
  289. !
  290. line con 0
  291. login local-userlist
  292. !
  293. line telnet 0 4
  294. login local-userlist
  295. no shutdown
  296. line ssh 0 4
  297. login local-userlist
  298. line-timeout 0
  299. no shutdown
  300. !
  301. sntp server 0.pool.ntp.org
  302. !
  303. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement