I would go for first option if it is the fastest at runtime by avoiding workarounds. I don't expect to be a very dynamic part in the future, so we ca live with two dedicated parts of code there.
--- 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/678#issuecomment-227352091