Are you using IPv6? Some searches on the net reveal other projects having same error reported for IP_TOS if the socket is IPv6.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/598#issuecomment-218105465