[sr-dev] Per-child module de-init

Alekzander Spiridonov alekz at li.ru
Mon Jan 20 13:14:27 CET 2014


Hi list,

Could anyone tell me if there is a symmetric way to "de-init" kamailio
child processes as it is done with child_init_function.

Actual use case is to open connect only in timer module (for periodic
checks) and some how close it before kamailio is stopped. So at the moment
I use child_init_function to open connect but have no idea how to close it
since destroy_function is called only for proc_main AFTER all childs are
terminated.

TY!

--
Best regards,
Alekzander Spiridonov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20140120/ea9e993c/attachment.html>


More information about the sr-dev mailing list