Guest User

Untitled

a guest
Jan 29th, 2025
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1. general {
  2. stderr = no
  3. syslog_loglevel = 2
  4. syslog_facility = LOCAL0
  5.  
  6. node_id = 1
  7.  
  8. shutdown_mode {
  9. code = 508
  10. reason = "Yeti node in shutdown mode"
  11. allow_uac = true
  12. }
  13.  
  14.  
  15. media_processor_threads = 4
  16. rtp_receiver_threads = 4
  17. session_processor_threads = 20
  18. sip_udp_server_threads = 2
  19. sip_tcp_server_threads = 2
  20.  
  21. dead_rtp_time=30
  22.  
  23. default_bl_ttl=0
  24.  
  25. symmetric_rtp_mode = packets
  26. symmetric_rtp_packets = 20
  27. }
  28.  
  29. signaling-interfaces {
  30. interface internal {
  31. default-media-interface = internal
  32. ip4 {
  33. sip-udp {
  34. address = ~anon~
  35. port = 5060
  36. use-raw-sockets = off
  37. }
  38. sip-tcp {
  39. address = ~anon~
  40. port = 5060
  41. connect-timeout = 2000
  42. static-client-port = on
  43. idle-timeout=900000
  44. use-raw-sockets = off
  45. }
  46. }
  47. }
  48. }
  49.  
  50. media-interfaces {
  51. interface internal {
  52. ip4 {
  53. rtp {
  54. address = ~anon~
  55. low-port = 16384
  56. high-port = 32767
  57. dscp = 46
  58. use-raw-sockets = off
  59. }
  60. }
  61. }
  62.  
  63. modules {
  64. module "prometheus_exporter" {
  65. address = ~anon~
  66. port = 8080
  67. label(host, yeti-softswitch-test)
  68. label(pop, tdc)
  69. }
  70.  
  71. module "di_log" {}
  72. module "mp3" {}
  73. module "opus" {}
  74. module "wav" {}
  75. module "gsm" {}
  76. module "ilbc" {}
  77. module "adpcm" {}
  78. module "l16" {}
  79. module "g722" {}
  80.  
  81. module "registrar_client" {}
  82. module "postgresql" {}
  83. module "session_timer" {}
  84. module "jsonrpc" {
  85. listen{
  86. address = 127.0.0.1
  87. port = 7080
  88. }
  89. server_threads=1
  90. }
  91.  
  92. module "http_client" {}
  93.  
  94. module-global "uac_auth" {}
  95. module "options_prober" {}
  96.  
  97. module "radius_client" {}
  98. module "redis" {
  99. max_batch_size = 10
  100. batch_timeout = 100
  101. max_queue_size = 1000
  102. }
  103.  
  104. module "registrar" {
  105. redis {
  106. use_functions = no
  107. write {
  108. hosts = { 127.0.0.1:6379 }
  109. }
  110. read {
  111. hosts = { 127.0.0.1:6379 }
  112. }
  113. }
  114. }
  115.  
  116. module "yeti" {
  117. pop_id = 1
  118. lega_cdr_headers {
  119. header(p-charge-info, string)
  120. header(diversion, array)
  121. }
  122.  
  123. auth {
  124. realm = 127.0.0.1
  125. }
  126.  
  127. msg_logger_dir = /var/spool/sems/dump
  128. audio_recorder_dir = /var/spool/sems/records
  129. audio_recorder_compress = true
  130.  
  131. db_refresh_interval = 5
  132. ip_auth_reject_if_no_matched = true
  133.  
  134. routing {
  135. schema = switch21
  136. #schema = switch20
  137. #function = route_release
  138. function = route_debug
  139. pass_input_interface_name = true
  140. init = init
  141. master_pool {
  142. host = 127.0.0.1
  143. port = 5432
  144. name = yeti
  145. user = yeti
  146. pass = ~anon~
  147. size = 4
  148. check_interval = 10
  149. max_exceptions = 0
  150. statement_timeout=3000
  151. }
  152. failover_to_slave = false
  153. slave_pool {
  154. host = 127.0.0.1
  155. port = 5432
  156. name = yeti
  157. user = yeti
  158. pass = ~anon~
  159. size = 4
  160. check_interval = 10
  161. max_exceptions = 0
  162. statement_timeout=3000
  163. }
  164. }
  165. }
  166. cdr {
  167. dir = /var/spool/sems/cdrs
  168. completed_dir = /var/spool/sems/cdrs/completed
  169. pool_size = 2
  170. schema = switch
  171. function = writecdr
  172. master {
  173. host = 127.0.0.1
  174. port = 5432
  175. name = cdr
  176. user = cdr
  177. pass = ~anon~
  178. }
  179. failover_to_slave = false
  180. slave {
  181. host = 127.0.0.1
  182. port = 5432
  183. name = cdr
  184. user = cdr
  185. pass = ~anon~
  186. }
  187. failover_requeue = true
  188. failover_to_file = false
  189. serialize_dynamic_fields = true
  190. batch_size = 1
  191. batch_timeout = 5000
  192. }
  193. resources {
  194. reject_on_error = false
  195. reduce_operations = true
  196. write {
  197. hosts = { 127.0.0.1:6379 }
  198. timeout = 500
  199. }
  200. read {
  201. hosts = { 127.0.0.1:6379 }
  202. timeout = 1000
  203. }
  204. }
  205. registrations {
  206. check_interval = 5000
  207. }
  208. rpc {
  209. calls_show_limit = 10000
  210. }
  211. core_options_handling = yes
  212. }
  213. }
  214.  
  215. routing {
  216. application = yeti
  217. }
Advertisement
Add Comment
Please, Sign In to add comment