load-net

транк на pjsip

Mar 14th, 2024 (edited)
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. ;;;;;;;;SIPTEKA;;;;;;;;;;;;;;;
  2. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  3.  
  4. [915um301-endpoint]
  5. type=endpoint
  6. context = from-trunk
  7. allow = !all,g722,ulaw
  8. outbound_auth = 915um301-auth
  9. aors = 915um301-aor
  10. direct_media = no
  11. from_domain = um301.uraly.ru
  12.  
  13. [915um301-aor]
  14. type = aor
  15. contact = sip:um301.uraly.ru
  16.  
  17. [915um301-auth]
  18. type = auth
  19. auth_type = userpass
  20. username = 915
  21. password = Ps2BuGRKpMgf
  22.  
  23. [915um301-registration]
  24. type=registration
  25. transport=transport-udp-nat
  26. outbound_auth=915um301-auth
  27. server_uri=sip:um301.uraly.ru
  28. client_uri=sip:[email protected]
  29. retry_interval=60
  30. expiration=120
  31. contact_user=915
  32.  
  33. [915um301-identify]
  34. type=identify
  35. endpoint = 915um301-endpoint
  36. match = um301.uraly.ru
  37.  
  38. ;;;;;;;;SIPTEKA;;;;;;;;;;;;;;;
  39. ;;;;;;;;;;;этот точно рабочий;;;;;;;;;;;;;;;;;;;
  40.  
  41.  
  42. [udp-transport]
  43. type=transport
  44. protocol=udp
  45. bind=0.0.0.0
  46.  
  47.  
  48. [99-siptrunk]
  49. type=registration
  50. transport=transport-udp-nat ;transport-udp
  51. outbound_auth=99-siptrunk_auth
  52. server_uri=sip:10.1.1.153
  53. client_uri=sip:[email protected]
  54. retry_interval=60
  55. fatal_retry_interval=30
  56. forbidden_retry_interval=30
  57. max_retries=10000
  58. expiration=120
  59. contact_user=99-siptrunk
  60. line=yes
  61. endpoint=99-siptrunk
  62. auth_rejection_permanent=no
  63. contact_user=99-siptrunk
  64.  
  65. [99-siptrunk_auth]
  66. type=auth
  67. auth_type=userpass
  68. password=AVSaiwqUgjw
  69. username=99-siptrunk
  70.  
  71. [99-siptrunk]
  72. type=aor
  73. qualify_frequency=60
  74. contact=sip:10.1.1.153
  75.  
  76. [99-siptrunk]
  77. type=endpoint
  78. transport=transport-udp-nat ;udp-transport
  79. context=zadarma-in
  80. disallow=all
  81. allow=alaw
  82. allow=ulaw
  83. outbound_auth=99-siptrunk_auth
  84. aors=99-siptrunk
  85. send_connected_line=false
  86. language=ru
  87. from_domain=10.1.1.153
  88. from_user=99-siptrunk
  89. contact_user=99-siptrunk
  90. user_eq_phone=no
  91. t38_udptl=no
  92. t38_udptl_ec=none
  93. fax_detect=no
  94. trust_id_inbound=no
  95. t38_udptl_nat=no
  96. direct_media=no
  97. rtp_symmetric=yes
  98. dtmf_mode=auto
  99.  
  100. [99-siptrunk]
  101. type=identify
  102. endpoint=99-siptrunk
  103. match=10.1.1.153
Advertisement
Add Comment
Please, Sign In to add comment