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.comhttps://gilawa.com/
From: Valentin Christoph Christoph.Valentin@kontron.com Sent: Saturday, October 3, 2020 5:41 PM To: Henning Westerholt hw@skalatan.de; Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Cc: Onic Roman Roman.Onic@kontron.com; Friedrich Peter Peter.Friedrich@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@skalatan.demailto:hw@skalatan.de> Datum: 03.10.20 15:04 (GMT+01:00) An: "Kamailio (SER) - Users Mailing List" <sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org> Cc: Onic Roman <Roman.Onic@kontron.commailto:Roman.Onic@kontron.com>, Friedrich Peter <Peter.Friedrich@kontron.commailto:Peter.Friedrich@kontron.com>, Valentin Christoph <Christoph.Valentin@kontron.commailto: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/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.comhttps://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@lists.kamailio.orgmailto:sr-users-bounces@lists.kamailio.org> On Behalf Of Valentin Christoph Sent: Saturday, October 3, 2020 2:36 PM To: sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org Cc: Onic Roman <Roman.Onic@kontron.commailto:Roman.Onic@kontron.com>; Friedrich Peter <Peter.Friedrich@kontron.commailto: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