Hello Henning,

Thank you. I will try to workaround these shortcomings.

If it turns out I need some new feature(s) from the xcap_client, then what would be the recommended proceeding?

Kr
Christoph


-------- Ursprüngliche Nachricht --------
Von: Henning Westerholt <hw@skalatan.de>
Datum: 03.10.20 15:04 (GMT+01:00)
An: "Kamailio (SER) - Users Mailing List" <sr-users@lists.kamailio.org>
Cc: Onic Roman <Roman.Onic@kontron.com>, Friedrich Peter <Peter.Friedrich@kontron.com>, Valentin Christoph <Christoph.Valentin@kontron.com>
Betreff: RE: xcap_client: storage of document in local DB

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

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

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