With command such as “ss -tulnp” you can find a list of listening process.
Lately checking one host on which asterisk is installed, I found asterisk is listining on udp:60787.
How can I find which asterisk module uses this specific resource ?
I was dreaming of a “core show ” command that would do list network resources.
If I unload a module with “module unload ”, can I bet on this module freeing at once the network resources it used on is there a required period of time to wait before checking “ss -tulnp” output again ?
There is no such functionality for core show, and I don’t even think it would be really possible.
Modules should release their resources upon the use of “module unload” but not all modules can be unloaded thus why I said to selectively load modules.