[sr-dev] WebSocket (RFC 6455) and draft-ibc-sipcore-sip-websocket on Kamailio

Martin Hoffmann martin.hoffmann at telio.ch
Fri Jun 15 11:30:25 CEST 2012


Iñaki Baz Castillo wrote:
> 
> - About the relationship between the TCP/WS connection and SIP message
> fields (to properly route incoming requests):
> 
> I'm pretty sure the proper solution here is Outbound. I've implemented
> it in my proxy and works great (forget mangling the Contact URI or
> creating "alias" in Kamailio that could be overridn by other users and
> so...). Is there a chance to investigate adding Outbound to Kamailio?
> I've lot of experience with the spec and can help here.

The edge proxy stuff should be relatively trivial to implement. I think
this is mostly just replacing the trivial flow token in the received
parameter with one generated a la the algorithm in RFC 5626, Section 5.2
and putting it into the user part instead of a parameter.

New module parameter "use_flow_token" and a new function
add_path_token() and you are even backwards compatible. (Although I'd
probably have use_flow_token switch behaviour of the regular
add_path().)

Regards,
Martin



More information about the sr-dev mailing list