| 355 | } |
| 356 | |
| 357 | int dr_cluster_sync(void) |
| 358 | { |
| 359 | if (!dr_cluster_id) |
| 360 | return 0; |
| 361 | |
| 362 | if (c_api.request_sync(&status_repl_cap, dr_cluster_id, 0) < 0) { |
| 363 | LM_ERR("Sync request failed\n"); |
| 364 | return -1; |
| 365 | } |
| 366 | |
| 367 | return 0; |
| 368 | } |
| 369 | |
| 370 | static int get_cluster_prob_mode(char *mode) |
| 371 | { |
no outgoing calls
no test coverage detected