sipwise / kamailio

Kamailio SIP Proxy with Sipwise patches
http://www.kamailio.org/
Other
57 stars 27 forks source link

Ability to Parse bitmasked invite requests #1

Closed mattvv closed 11 years ago

mattvv commented 11 years ago

Hey Guys,

We tweaked kamailio a little so we could parse our own invite requests. We mask the invite requests with 4 bits at the start of the message so we can avoid sip-inspect on some routers from stealing our requests and re-writing them, this code will ensure those requests are caught and handled correctly by kamailio.

We do this to avoid unexpected behaviors by some routers poorer implementations of sip-inspect, this allows us to facilitate more p2p sessions with our client side code.

I'd love if you guys could include this in your package (It will save us from patching each release). But I understand if you deem this out of scope for this as it really only effects our own projects.

agranig commented 11 years ago

Hi Matt,

In my opinion it's a better approach to use TLS instead of obfuscating the SIP method. I don't see a usage for this patch from our side (also taking into account that this behavior is not configurable), but in any case you should discuss this with kamailio upstream on their dev-mailinglist. If it's accepted there, we'll pull it into our repo anyways.

Andreas