Advertisement
Guest User

Untitled

a guest
Jul 16th, 2017
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. #Rotation parameters
  2.  
  3. [MYSQL]
  4. user = homer
  5. password = ***********
  6. host = localhost
  7. port = 3306
  8. usesocket = 0
  9. socket = /var/run/mysqld/mysqld.sock
  10. db_data = homer_data
  11. db_stats = homer_statistic
  12. # Extra param
  13. newtables = 2 # Create new tables or partitions for next 2 days
  14. engine = InnoDB #MyISAM or InnoDB
  15. compress=ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8
  16.  
  17. [DATA_TABLE_ROTATION]
  18. #how long data keeps
  19. sip_capture_call = 10 #days
  20. sip_capture_registration = 10 # 10 days
  21. sip_capture_rest = 10 # 10 days
  22. rtcp_capture = 1 # days
  23. logs_capture = 10 # days
  24. report_capture = 10 # days
  25. webrtc_capture_all = 10 # days
  26. isup_capture_all = 10
  27.  
  28. [DATA_TABLE_TYPE_TIMESTAMP]
  29. #type: sip, isup, webrtc, rtcp
  30. sip_capture_call = sip
  31. sip_capture_registration = sip
  32. sip_capture_rest = sip
  33. isup_capture_all = isup
  34. webrtc_capture_all = webrtc
  35.  
  36. [DATA_TABLE_STEP]
  37. # 0 - Day, 1 - Hour, 2 - 30 Minutes, 3 - 15 Minutes
  38. sip_capture_call = 0
  39. sip_capture_registration = 0
  40. sip_capture_rest = 0
  41. rtcp_capture = 0
  42. logs_capture = 0
  43. report_capture = 0
  44. webrtc_capture_all = 0
  45. isup_capture_all = 0
  46.  
  47. [DROP_OLD_PARTITIONS]
  48. # Remove partitions older than $seconds
  49. # Ignored if zero
  50. sip_capture_call = 0
  51. sip_capture_registration = 0
  52. sip_capture_rest = 0
  53. rtcp_capture = 0
  54. logs_capture = 0
  55. report_capture = 0
  56. isup_capture_all = 0
  57. webrtc_capture_all = 0
  58.  
  59. [STATS_TABLE_ROTATION]
  60. stats_ip = 20 # days
  61. stats_geo = 20 # days
  62. alarm_data = 10 # days
  63. stats_method = 10 # days
  64. stats_useragent = 20 # days
  65.  
  66. [STATS_TABLE_STEP]
  67. #0 - Day, 1 - Hour, 2 - 30 Minutes, 3 - 15 Minutes
  68. stats_ip = 0
  69. stats_geo = 0
  70. alarm_data = 0
  71. stats_method = 0
  72. stats_useragent = 0
  73.  
  74. [SYSTEM]
  75. debug = 0
  76. exec = 1
  77.  
  78. [MSG_TABLE_SIZE]
  79. #characters
  80. sip_capture_call = 1500
  81. isup_capture_all = 3000
  82. webrtc_capture_all = 3000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement