Advertisement
load-net

pjsip.conf

Apr 19th, 2023
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.75 KB | None | 0 0
  1. [system]
  2. type = system
  3. timer_t1 = 200
  4. timer_t2 = 1500
  5.  
  6. [global]
  7. ttype = global
  8. disable_multi_domain = yes
  9. ;debug = yes
  10. taskprocessor_overload_trigger = global
  11. unidentified_request_count=5
  12. unidentified_request_period=5
  13. unidentified_request_prune_interval=30
  14. endpoint_identifier_order=username,ip,anonymous
  15. canreinvite=no
  16. insecure=port,invite
  17.  
  18. [transport-udp-nat]
  19. type=transport
  20. protocol=udp
  21. bind=0.0.0.0:5060
  22. local_net=10.20.7.0/24
  23. ;external_media_address=load.sytes.net
  24. ;external_signaling_address=load.sytes.net
  25. ;allow_reload=true
  26.  
  27. [acl]
  28. type=acl
  29. deny=0.0.0.0/0.0.0.0
  30. permit=176.58.0.0/15
  31. permit=10.0.0.0/8
  32. permit=83.102.160.66
  33. permit=109.194.166.0/24
  34. permit=37.139.38.0/24
  35. permit=185.45.152.128/28
  36. permit=185.45.152.160/27
  37. permit=91.245.210.0/24
  38.  
  39. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  40. ;;;;;;;KAMAILIO;;;;;;;;;;;;;;;;;;;
  41. [kamailio]
  42. type=endpoint
  43. transport=transport-udp-nat
  44. context=from_kamailio
  45. disallow=all
  46. allow=alaw
  47. allow=g722
  48. allow=ulaw
  49. aors=kamailio
  50. direct_media=no
  51. rtp_symmetric=no
  52. force_rport=no
  53. rewrite_contact=no
  54.  
  55. [kamailio]
  56. type =identify
  57. endpoint=kamailio
  58. match=10.20.7.103 ;(удален частный IP-адрес kamailio)
  59.  
  60. [kamailio]
  61. type=aor
  62. contact=sip:10.20.7.103:5060 ;(удален частный IP-адрес kamailio)
  63. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  64. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  65.  
  66. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  67. [818067]
  68. type=registration
  69. transport=transport-udp-nat
  70. outbound_auth=818067_auth
  71. server_uri=sip:sip.novofon.com
  72. client_uri=sip:[email protected]
  73. retry_interval=60
  74. fatal_retry_interval=30
  75. forbidden_retry_interval=30
  76. max_retries=10000
  77. expiration=120
  78. contact_user=818067
  79. line=yes
  80. endpoint=818067
  81. auth_rejection_permanent=no
  82. contact_user=818067
  83. server_uri=sip:sip.novofon.com
  84. client_uri=sip:[email protected]
  85.  
  86. [818067_auth]
  87. type=auth
  88. auth_type=userpass
  89. password=MzBz0zUv5V
  90. username=818067
  91.  
  92. [818067]
  93. type=aor
  94. qualify_frequency=60
  95. contact=sip:sip.novofon.com
  96.  
  97. [818067]
  98. type=endpoint
  99. transport=transport-udp-nat ;udp-transport
  100. context=zadarma-in
  101. disallow=all
  102. allow=alaw
  103. allow=ulaw
  104. outbound_auth=818067_auth
  105. aors=818067
  106. send_connected_line=false
  107. language=ru
  108. from_domain=sip.novofon.com
  109. from_user=818067
  110. contact_user=818067
  111. user_eq_phone=no
  112. t38_udptl=no
  113. t38_udptl_ec=none
  114. fax_detect=no
  115. trust_id_inbound=no
  116. t38_udptl_nat=no
  117. direct_media=no
  118. rtp_symmetric=yes
  119. dtmf_mode=auto
  120. from_user=818067
  121. from_domain=sip.novofon.com
  122. direct_media=no
  123.  
  124.  
  125. [818067]
  126. type=identify
  127. endpoint=818067
  128. match=sip.zadarma.com
  129. match=sipurifr.zadarma.com
  130. match=sipurims.zadarma.com
  131. match=sipuriny.zadarma.com
  132. match=sip.novofon.com
  133.  
  134. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  135. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  136. [916]
  137. type=registration
  138. transport=transport-udp-nat
  139. outbound_auth=916_auth
  140. server_uri=sip:ur909.uralm.ru
  141. client_uri=sip:[email protected]
  142. retry_interval=60
  143. fatal_retry_interval=30
  144. forbidden_retry_interval=30
  145. max_retries=10000
  146. expiration=120
  147. contact_user=916
  148. line=yes
  149. endpoint=916
  150. auth_rejection_permanent=no
  151. contact_user=916
  152. server_uri=sip:ur909.uralm.ru
  153. client_uri=sip:[email protected]
  154.  
  155. [916_auth]
  156. type=auth
  157. auth_type=userpass
  158. password=2PliUmpFNzDg
  159. username=916
  160.  
  161. [916]
  162. type=aor
  163. remove_unavailable=yes
  164. qualify_frequency=60
  165. contact=sip:ur909.uralm.ru
  166.  
  167. [916]
  168. type=endpoint
  169. transport=transport-udp-nat ;udp-transport
  170. context=sipteco-in
  171. disallow=all
  172. allow=alaw
  173. allow=ulaw
  174. outbound_auth=916_auth
  175. aors=916
  176. send_connected_line=false
  177. language=ru
  178. from_domain=ur909.uralm.ru
  179. from_user=916
  180. contact_user=916
  181. user_eq_phone=no
  182. t38_udptl=no
  183. t38_udptl_ec=none
  184. fax_detect=no
  185. trust_id_inbound=no
  186. t38_udptl_nat=no
  187. direct_media=no
  188. rtp_symmetric=yes
  189. dtmf_mode=auto
  190. from_user=916
  191. from_domain=ur909.uralm.ru
  192. direct_media=no
  193.  
  194.  
  195. [916]
  196. type=identify
  197. endpoint=916
  198. match=ur909.uralm.ru
  199.  
  200. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  201. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  202. ;;;;; USERS ZADARMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  203. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  204. [endpoint-template](!)
  205. type = endpoint
  206. transport = transport-udp-nat
  207. context = zadarma-out
  208. dtmf_mode = rfc4733
  209. disallow = all
  210. allow = ulaw
  211. allow = alaw
  212.  
  213. [auth-template-userpass](!)
  214. type = auth
  215. auth_type = userpass;
  216.  
  217. [aor-template-single-reg](!)
  218. type = aor
  219. max_contacts = 1
  220.  
  221. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  222. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  223. ;;;;; USERS sipteco;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  224. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  225.  
  226. [sipteco-template](!)
  227. type = endpoint
  228. transport = transport-udp-nat
  229. context = sipteco-out
  230. dtmf_mode = rfc4733
  231. disallow = all
  232. allow = ulaw
  233. allow = alaw
  234.  
  235. [auth-sipteco-userpass](!)
  236. type = auth
  237. auth_type = userpass;
  238.  
  239. [aor-sipteco-single-reg](!)
  240. type = aor
  241. max_contacts = 1
  242. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  243. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256. ;;;;;;;;;;;users;;;;;;;;;;;;;;;;;;;;;
  257.  
  258. [108](endpoint-template)
  259. auth = auth108
  260. aors = 108
  261. callerid = man 108;
  262.  
  263. [auth108](auth-template-userpass)
  264. username = 108
  265. password = 1JKHKJjj23
  266.  
  267. [108](aor-template-single-reg)
  268.  
  269. ;;;;;;;;;;;;;;;;109;;;;;;;;;;;;;;;;;;;;;
  270.  
  271. [109](endpoint-template)
  272. auth = auth109
  273. aors = 109
  274. callerid = man 109;
  275.  
  276. [auth109](auth-template-userpass)
  277. username = 109
  278. password = 123dsvHGuill
  279.  
  280. [109](aor-template-single-reg)
  281.  
  282. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  283. [101](endpoint-template)
  284. auth = auth101
  285. aors = 101
  286. callerid = man 101
  287.  
  288. [auth101](auth-template-userpass)
  289. username = 101
  290. password = 101
  291.  
  292. [101](aor-template-single-reg)
  293.  
  294. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  295. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  296. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  297. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  298. ;;;;;SIPTECO-USERS;;;;;;;;;;;;;;;;;;;;;;;;
  299. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  300. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  301. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  302.  
  303. [105](sipteco-template)
  304. auth = auth105
  305. aors = 105
  306. callerid = man 105
  307.  
  308. [auth105](auth-sipteco-userpass)
  309. username = 105
  310. password = 105
  311.  
  312. [105](aor-sipteco-single-reg)
  313. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  314.  
  315. [106](sipteco-template)
  316. auth = auth106
  317. aors = 106
  318. callerid = man 106
  319.  
  320. [auth106](auth-sipteco-userpass)
  321. username = 106
  322. password = 106123
  323.  
  324. [106](aor-sipteco-single-reg)
  325. type=aor
  326. max_contacts=2
  327. remove_unavailable=yes
  328. qualify_frequency=5
  329. qualify_timeout=3.0
  330.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement