[sr-dev] [kamailio] Is cross module function call a good practice? (#50)

mading087 notifications at github.com
Thu Jan 22 17:11:01 CET 2015


Started creating a new module auth_jwt, which supports JSON Web Token for auth. Need to access the database to validate some claims in the token. Wonder if I should just make a function call to auth_db or copy the code from auth_db? Which approach is a better approach? Thanks.


---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/50
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150122/4e00e74b/attachment.html>


More information about the sr-dev mailing list