daBatmanCoder left a comment (kamailio/kamailio#4328)
I haven't had the time for proper review, but at a quick look, a lot of files seem to be copied from auth module. If it is the case, then isn't it possible to reuse functions via intermodule API in the similar way that auth_db uses auth functions?
Our initial approach was to build a **complete drop-in replacement** for `auth.so`.
- Same API and function signatures as the original auth module - Just swap `loadmodule "auth.so"` for `loadmodule "web3_auth.so"` - Keep all the SIP digest auth stuff working, but use blockchain verification instead of passwords - Work with existing Kamailio configs without changes
We understand your response and after seeing how `auth_db` uses the intermodule API makes it clear that **building an extension module** would be a smarter approach.
We're going to refactor our approach and upload an updated version.