@oej commented on this pull request.
@@ -1854,6 +1854,22 @@ static const char *rpc_presence_cleanup_doc[3] = {
"presentity, and watchers tables.", 0};
+ +void rpc_presence_publish_cache_sync(rpc_t *rpc, void *ctx) +{ + LM_DBG("Synchronizing presentity table with the publish cache.\n"); + if (pres_htable_db_restore() == -1 ) { + rpc->fault(ctx, 500, "Failed to sync presinity table with the publish cache.");
Add a positive answer too, 200