Advertisement
Guest User

Untitled

a guest
Mar 1st, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.23 KB | None | 0 0
  1. signalling {
  2. globals {
  3. yeti {
  4. pop_id = 4
  5. msg_logger_dir = /var/spool/sems/dump
  6. audio_recorder_dir = /var/spool/sems/record
  7. audio_recorder_compress = true
  8. log_dir = /tmp
  9. routing {
  10. schema = switch8
  11. function = route_release
  12. init = init
  13.  
  14. master_pool {
  15. host = 127.0.0.1
  16. port = 5432
  17. name = yeti
  18. user = yeti
  19. pass = qazwsx123
  20.  
  21. size = 4
  22. check_interval = 10
  23. max_exceptions = 0
  24. statement_timeout=3000
  25. }
  26.  
  27. failover_to_slave = false
  28. slave_pool {
  29. host = 127.0.0.1
  30. port = 5432
  31. name = yeti
  32. user = yeti
  33. pass = qazwsx123
  34.  
  35. size = 4
  36. check_interval = 10
  37. max_exceptions = 0
  38. statement_timeout=3000
  39. }
  40.  
  41. cache {
  42. enabled = false
  43. check_interval = 60
  44. buckets = 100000
  45. }
  46.  
  47. use_radius = false
  48. }
  49.  
  50. cdr {
  51. dir = /var/spool/sems/cdrs
  52. completed_dir = /var/spool/sems/cdrs/completed
  53. pool_size = 2
  54.  
  55. schema = switch
  56. function = writecdr
  57.  
  58. master {
  59. host = 127.0.0.1
  60. port = 5432
  61. name = cdr
  62. user = cdr
  63. pass = somepassword
  64. }
  65.  
  66. failover_to_slave = false
  67. slave {
  68. host = 127.0.0.1
  69. port = 5432
  70. name = cdr
  71. user = cdr
  72. pass = somepassword
  73. }
  74.  
  75. failover_requeue = true
  76. failover_to_file = false
  77. serialize_dynamic_fields = false
  78. }
  79.  
  80. resources {
  81. reject_on_error = false
  82. write {
  83. //socket = /var/run/redis/redis.sock
  84. host = 127.0.0.1
  85. port = 6379
  86. size = 2
  87. timeout = 500
  88. }
  89. read {
  90. //socket = /var/run/redis/redis.sock
  91. host = 127.0.0.1
  92. port = 6379
  93. size = 2
  94. timeout = 1000
  95. }
  96. }
  97.  
  98. registrations {
  99. check_interval = 5000
  100. }
  101.  
  102. rpc {
  103. calls_show_limit = 1000
  104. }
  105.  
  106. # statistics {
  107. # active-calls {
  108. # period = 5
  109. # clickhouse {
  110. # table = active_calls
  111. # queue = snapshots
  112. # buffering = false
  113. # allowed_fields = {
  114. # resources,
  115. # audio_record_enabled,
  116. # auth_orig_ip,
  117. # auth_orig_port
  118. # }
  119. # }
  120. # }
  121. # }
  122. }
  123. }
  124. node 8 { }
  125. }
  126.  
  127. lnp {
  128. globals {
  129. daemon {
  130. listen = {
  131. "tcp://127.0.0.1:3333",
  132. "tcp://127.0.0.1:3332"
  133. }
  134. log_level = 2
  135. }
  136. db {
  137. host = 127.0.0.1
  138. port = 5432
  139. name = yeti
  140. user = yeti
  141. pass = qazwsx123
  142. schema = switch8
  143. conn_timeout = 0
  144. check_interval = 5000
  145. }
  146. sip {
  147. contact_user = yeti-lnp-resolver
  148. from_uri = sip:yeti-lnp-resolver@localhost
  149. from_name = yeti-lnp-resolver
  150. }
  151. }
  152. node 8 { }
  153. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement