Am Sonntag, 20. Januar 2019, 17:57:33 CET schrieb Mojtaba:
Hello Mojtaba,
please keep the list in CC.
The htable module support this memory storage and also auto-expiration out of the box. :-)
You can find (a bit complicated) example in the usrloc module. A starting point for the expiration logic can be the delete_ucontact(..) function there. You need to store the SIP message data in a proper data structure like a list or a hash table.
Best regards,
Henning
Sure. I just thought i would keep the list. I will look around it to give some ideas. Thanks again On Sun, 20 Jan 2019, 23:15 Henning Westerholt, hw@kamailio.org wrote:
Hello Henning, I looked at htable and usrloc modules, I just got some ideas from them. It seems good. I could implement fork_sync_timer in my module and do some specific process in interval times. That's greats. Thank you again. With Best Regards. Mojtaba
On Sun, Jan 20, 2019 at 11:24 PM Mojtaba mespio@gmail.com wrote: