You are right with the atomic ops. Even if there's only the MI process who does the changes, it should do them atomically. I am thinking of using per rtpp_set locks.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/429#issuecomment-171990615