The approach to mask call id in topos like is done by topoh could be a good enough compromise for some specific needs. However, I think it would be better to avoid cloning the code from one module to another.

A way for it would be to make topoh work in library mode with a new modparam, in the way that is not registering the internal callback for updating the headers when loaded. Then the functions to encode/decode strings should be made available via inter-module API. Actually the decode function is already exported, as I could spot quickly, for sipcature needs.

@toharish: I can eventually take care of making topoh run in lib mode, then you make use of it and update topos patches. Also, do not make PRs with commented code, if that was useful during the developement/testing, remove them before making the PR -- I see that the bot github-code-scanning scans automatically and reported above.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3323/c1378702076@github.com>