[sr-dev] xcap_client: storage of document in local DB

Henning Westerholt hw at skalatan.de
Sat Oct 3 18:48:37 CEST 2020


Hi Christoph,

I'd say with the usual process. Create a pull request to integrate your developed enhancements to the module. In case of questions or different implementation options ask/discuss before on sr-dev list.

If you do not want to develop it by yourself, you can create a feature request, or you can also approach one of the companies that offer Kamailio services.

Cheers,

Henning

--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com<https://gilawa.com/>

From: Valentin Christoph <Christoph.Valentin at kontron.com>
Sent: Saturday, October 3, 2020 5:41 PM
To: Henning Westerholt <hw at skalatan.de>; Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Cc: Onic Roman <Roman.Onic at kontron.com>; Friedrich Peter <Peter.Friedrich at kontron.com>
Subject: RE: xcap_client: storage of document in local DB

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 at skalatan.de<mailto:hw at skalatan.de>>
Datum: 03.10.20 15:04 (GMT+01:00)
An: "Kamailio (SER) - Users Mailing List" <sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>>
Cc: Onic Roman <Roman.Onic at kontron.com<mailto:Roman.Onic at kontron.com>>, Friedrich Peter <Peter.Friedrich at kontron.com<mailto:Peter.Friedrich at kontron.com>>, Valentin Christoph <Christoph.Valentin at kontron.com<mailto:Christoph.Valentin at 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/<https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fskalatan.de%2Fblog%2F&data=02%7C01%7CChristoph.Valentin%40kontron.com%7Cd045fe66e66945896be108d8679cb556%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637373270491253300&sdata=gjUlJGDd1Xqy0AosHLBMUhelhdVi2skTSlhSTpcxSw8%3D&reserved=0>
Kamailio services - https://gilawa.com<https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgilawa.com%2F&data=02%7C01%7CChristoph.Valentin%40kontron.com%7Cd045fe66e66945896be108d8679cb556%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637373270491253300&sdata=M3vYzAJ14IRaVPylmGzUMfMenlIIKJ8KafLNii9F%2Bxw%3D&reserved=0>

From: sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> On Behalf Of Valentin Christoph
Sent: Saturday, October 3, 2020 2:36 PM
To: sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
Cc: Onic Roman <Roman.Onic at kontron.com<mailto:Roman.Onic at kontron.com>>; Friedrich Peter <Peter.Friedrich at kontron.com<mailto:Peter.Friedrich at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201003/fee9759a/attachment-0001.htm>


More information about the sr-dev mailing list