Tried to clean it up and rebase on top of current master and fix some code indentation etc.

However, it doesn't seem to work as expected to me.

What works: [x] Hiding Via header

What doesn't: [ ] Contact hiding [ ] No typos key param added to Contact, so the 401 is not rewritten back (regarding Via) and Kamailio doesn't know where to send the response to

@toharish could you please post an example of a REGISTER leaving Kamailio, so we can check what's supposed to be hidden?

reg1.txt

@agranig I have attached the working SIP trace when this module is used.
I am able to send 401 properly to the orginator without any addtional configuration
in this PR I had planned only change of CALLID and hide via, If required we can plan for contact with topos key.
Since there is no indialog messages in registration I feel that topos key may not be required.


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/3766/c2488556814@github.com>