Hello Christoph,
this is the API from the code:
typedef struct xcap_api {
xcap_nodeSel_init_t int_node_sel;
xcap_nodeSel_add_step_t add_step;
xcap_nodeSel_add_terminal_t add_terminal;
xcap_nodeSel_free_t free_node_sel;
xcapGetNewDoc_t getNewDoc;
register_xcapcb_t register_xcb;
}xcap_api_t;
So the get_elem seems to be not implemented. About the other question, it seems to not call the delete API from the database layer either.
Cheers,
Henning
From: sr-users <sr-users-bounces@lists.kamailio.org>
On Behalf Of Valentin Christoph
Sent: Saturday, October 3, 2020 2:36 PM
To: sr-users@lists.kamailio.org
Cc: Onic Roman <Roman.Onic@kontron.com>; Friedrich Peter <Peter.Friedrich@kontron.com>
Subject: [SR-Users] xcap_client: storage of document in local DB
Hi all,
Does anybody know, when the xcap_client deletes a registered document from the database? Is it possible to deregister a document?
Are you sure, the documented get_elem API function is actually implemented?
All the best
Christoph