Re: [sr-dev] [kamailio/kamailio] str_hash: Option to allocate hash in shm (#1535)

2018-05-18 Thread Alfonso Pinto
hi @henningw, I'm developing a module that requires to have a hash in memory to keep some user information it retrieves from another system via diameter. The use case is similar to tsilo or domain modules, the information needs to be available for all processes and accesible through a key.

[sr-dev] [kamailio/kamailio] str_hash: Option to allocate hash in shm (#1535)

2018-05-17 Thread Alfonso Pinto
Added an allocator function to allocate the hash in shared memory. Added also locking stuff Pre-Submission Checklist - [X] Commit message has the format required by CONTRIBUTING guide - [X] Commits are split per component (core, individual modules, libs, utils, ...) - [X] Each

Re: [sr-dev] [kamailio/kamailio] str_hash: Option to allocate hash in shm (#1535)

2018-05-26 Thread Alfonso Pinto
I agree that another header file can be created, either leveraging the existing one for pkg or completely independent. I will catch up with you on IRC tomorrow or next week to see how to move forward. -- You are receiving this because you are subscribed to this thread. Reply to this email

[sr-dev] Question about cdp development

2018-01-16 Thread Alfonso Pinto
Hi all, I've to develop a module that uses cdp to contact an HSS. To understand how to use cdp API I'm looking into other modules that already use it. Of course, I read also the module documentation. Looking into ims-registrar-scscf I found something that triggers my curiosity. My question is