Thanks for your reply. I'm using MacOS only for development purposes and not for production. I have tried running kamailio with --atexit=no but I doesn't help.
I'm using MacBook Pro (15-inch, 2018) Processor 2.9 GHz 6-Core Intel Core i9 macOS Monterey v12.1
I totally understand and thank you for trying..