Hello,
On 6/14/12 4:49 PM, IƱaki Baz Castillo wrote:
2012/6/14 Peter Dunkley
<peter.dunkley(a)crocodile-rcs.com>
Hello,
Crocodile is looking at adding WebSocket as a SIP transport to Kamailio (including
WebSockets over TLS).
I wanted to check to see if anyone else was working on this, or if anyone else is
interested in working on this with us?
Also, I would be interested in any advice or notes anyone has on adding a new
protocol/transport, as this touches on a lot of parts of Kamailio I am not familiar with.
Hi Peter, I've implemented SIP WebSocket transport in my own SIP proxy
and also planned to add it in Kamailio (by initially playing a bit in
my local sources copy), so yes, I'm fully interested. It is a big task
since, as you said, it involves touching lot of Kamailio core.
So if you want, feel free to contact me and let's start it.
I will be here to
guide whenever needed to navigate through the
transport layers.
At some point it time when someone was looking to sponsor the
development of web sockets support I was investigating a bit,
unfortunately the project was postponed. From what I remember, the core
touches will be:
- sip uri and via parsers enhanced to deal with websocket transport values
- tcp connection structure to keep a flag its websocket in order to
generate proper values for via/record-route
I planned to put the specific code in a module, like Peter started with
his last commit. Eventaully, some hooks can be added in core to execute
callbacks from the module in case its needed, existing support in core
for receiving http over tcp proved to be a time saver -- the overall
impact was estimated to be much lower that I initially thought.
Thanks everyone for allocating resources for it, I will help as much as
I can, as well, looking forward to the outcome.
Cheers,
Daniel
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 -
http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 -
http://asipto.com/u/kpw