Looking at the sources I think there was a mistake interpreting a return code in dmq_usrloc -- can you try with patch 13cde2bb1deda9cc67925ca01910e41150c4435e (it is only in master)?
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/373#issuecomment-150614571