[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-06-12 Thread Daniel-Constantin Mierla
Merged #3462 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3462#event-9500214070 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-05-22 Thread Jake Greene
@oej Thanks so much for helping me with this! I just made the changes you requested. Let me know what you think. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3462#issuecomment-1557995537 You are receiving this because you are subscribed to this

[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-05-22 Thread Jake Greene
@false-vacuum pushed 1 commit. cd6a2f3d04ad0ef297f238994121bc2a65a2abfb presence: Add OK response to publish_cache_sync RPC command. -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3462/files/67cd93c8c404f7e6dbc19c04bb6e1878ec9e0a40..cd6a2f3d04ad0ef297f238994121bc2a65a2abfb

[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-05-20 Thread Olle E. Johansson
> @oej What do you think about these changes? Looking good. Thank you for the updates. Added a minor thing. RPC calls should always respond with OK or an error. It's not always the case in old code, but we're trying to fix that. -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-05-20 Thread Olle E. Johansson
@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

[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-05-19 Thread Jake Greene
@oej What do you think about these changes? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3462#issuecomment-1555050558 You are receiving this because you are subscribed to this thread. Message ID: ___

[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-05-19 Thread Jake Greene
@false-vacuum pushed 1 commit. 67cd93c8c404f7e6dbc19c04bb6e1878ec9e0a40 Presence: semantical improvments to docs & rpc command name -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3462/files/ec181f8519eec6c054c76135dd4a85b672bb305e..67cd93c8c404f7e6dbc19c04bb6e1878ec9e0a40 You

[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-05-19 Thread Jake Greene
@false-vacuum pushed 1 commit. ec181f8519eec6c054c76135dd4a85b672bb305e Merge branch 'kamailio:master' into master -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3462/files/e673b0757836f7e7bed3e7f35381f464b7179c68..ec181f8519eec6c054c76135dd4a85b672bb305e You are receiving

[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-05-19 Thread Olle E. Johansson
@oej commented on this pull request. > @@ -1854,6 +1854,20 @@ static const char *rpc_presence_cleanup_doc[3] = { "presentity, and watchers tables.", 0}; + +void rpc_presence_htable_db_restore(rpc_t *rpc, void *c) +{ + LM_DBG("Restoring presence publ cache

[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-05-19 Thread Olle E. Johansson
@oej commented on this pull request. > @@ -1854,6 +1854,20 @@ static const char *rpc_presence_cleanup_doc[3] = { "presentity, and watchers tables.", 0}; + +void rpc_presence_htable_db_restore(rpc_t *rpc, void *c) +{ + LM_DBG("Restoring presence publ cache

[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-05-19 Thread Olle E. Johansson
@oej commented on this pull request. > @@ -1284,6 +1284,27 @@ pres_update_watchers("sip:t...@kamailio.org", > "presence"); ... + + + + presence.htable_db_restore + + Manually apply changes to the presenity table to the publ_cache.

[sr-dev] Re: [kamailio/kamailio] presence: Add htable_db_restore RPC command. (PR #3462)

2023-05-19 Thread Olle E. Johansson
The name "htable" usually refers to the "htable" module. Can you find another name to avoid confusion? Thanks! -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3462#issuecomment-1554243585 You are receiving this because you are subscribed to this