VUC 15-Nov-2013 - Kamailio 4.1 (Crocodile Contributions)

9

Click here to load reader

description

A presentation by Peter Dunkley (Technical Director, Crocodile RCS Ltd) and Hugh Waite (Principal Engineer, Crocodile RCS Ltd). Presentation date 15-Nov-2013.

Transcript of VUC 15-Nov-2013 - Kamailio 4.1 (Crocodile Contributions)

Page 1: VUC 15-Nov-2013 - Kamailio 4.1 (Crocodile Contributions)

1

Kamailio 4.1 (Crocodile Contributions)

Page 2: VUC 15-Nov-2013 - Kamailio 4.1 (Crocodile Contributions)

Kamailio 4.1

Email: [email protected]: @pdunkley

Kamailio 4.1 (Crocodile Contributions)

Peter Dunkley, Technical Director, Crocodile RCS LtdHugh Waite, Principal Engineer, Crocodile RCS Ltd

Email: [email protected]

Page 3: VUC 15-Nov-2013 - Kamailio 4.1 (Crocodile Contributions)

What have we done?

● New modules– auth_ephemeral

– stun (previously a compile-time option in Kamailio core)

● Existing modules– registrar: outbound (RFC 5626) related enhancements

– outbound: outbound (RFC 5626) edge proxy enhancements

– tm: branch failure routes

– websocket: improvements to configuration and statistics

– Plus various other fixes and improvements

Page 4: VUC 15-Nov-2013 - Kamailio 4.1 (Crocodile Contributions)

auth_ephemeral

Web Service

SIP Proxy

Calling UA

Called UA

SIP

SIP

RESTOAuth2

Shared secret – communication

link not required

You don’t have to create or manage accounts on the SIP Proxy/registrar

Page 5: VUC 15-Nov-2013 - Kamailio 4.1 (Crocodile Contributions)

RFC 5626: SIP Outbound (1)

● Managing Client-Initiated Connections● Signalling NAT traversal

– Clients connect to edge proxies

– Edge proxies embed flow-tokens identifying the incoming connection in Record-Route: headers

– Clients send keep-alives to the edge proxies● Flow-Timer: header added to 200 OK response to REGISTER tells

clients how frequently to keep-alive● For connection-oriented transports (for example, SCTP and TCP) use

CRLF● For connection-less transports (for example, UDP) use STUN

– just load the stun module on the edge proxy

Page 6: VUC 15-Nov-2013 - Kamailio 4.1 (Crocodile Contributions)

RFC 5626: SIP Outbound (2)

Edge Proxy

Edge Proxy

UA Registrar

Flow 2

Flow 1

Flow 2

Flow 1

Page 7: VUC 15-Nov-2013 - Kamailio 4.1 (Crocodile Contributions)

RFC 5626: SIP Outbound (3)

● Client connection resilience– Clients may register multiple times (through different edge

proxies)

– If one “flow” fails you fall back to another

– Over to Hugh...

Page 8: VUC 15-Nov-2013 - Kamailio 4.1 (Crocodile Contributions)

And for Kamailio 4.2...

● Per-message compression in WebSockets● Use database for auth_ephemeral secrets● TLS outbound connection validation● SIP DANE● ...

Page 9: VUC 15-Nov-2013 - Kamailio 4.1 (Crocodile Contributions)

Crocodile WebRTC SDK and Network

www.crocodilertc.net