A talk about me discovering new architectures, new ways of building scalable realtime platforms #SIP #WebRTC #Kamailio #MQTT #NODERED
Watch it live at https://www.youtube.com/watch?v=BbfUXUWtxIg
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
Kamailio World 2018: Having fun with new stuff
1. Having fun with
new stuff.
MQTT, SIP, Kamailio, Baresip, Janus, Node-Red
- what a lovely platform! Kamailio World 2018, BerlinOlle E. Johansson
@oej
21. SIP
PubSub is, well, hrrmpf, not up to par when it comes
to interoperability
Has a lot of the features needed for intelligent message
routing
Sucks when it comes to security
Not many 3rd party libraries available
22. COAP
Developed for IoT
An IETF standard, HTTP-inspired
Not that many implementations and libraries yet
Has a lot of bling
23. MQTT
Developed for IoT
Not an IETF standard, which shows
Runs on tiny devices
TCP and TCP/TLS
Many open source brokers and client libraries
Lacks almost all bells and whistles, which may be a good
thing
24. Surprise: the Will
Client Server
Client
will
When client for some reason is
disconnected, the server will publish
the will.
At connect, the
client may publish a will
26. Important lesson
Your choice of protocol is not the
biggest investment to protect.
It’s the data formats and the topic/
channel structure that matters
Most of the time, you can bridge
between protocols.
28. Added MQTT to our Janus
MQTT control (and admin) channel existed
MQTT event API support added
Connected that to Node Red
29. Added MQTT to our
Kamailio
Failed miserably in writing a Kamailio module.
Mistakenly tried based on AMQP module code.
Gave up and use exec to run mosquitto Publish from
shell.
Publish registration and dialog events
30. Added MQTT to BareSIP
Remote control of BareSIP user agent
RTCP stats during a call
Connected to node red
31. Testing
Node red based services
MQTT
Kamailio Janus BareSIP
Other
apps
MySQL
Grafana
GUI
Push/
SMS
38. How far will Node red go?
We don’t really know yet.
But development quickly gets spaghetti-like when
things grow
Looking for a new architecture to complement
and scale and not loose control while still doing
load balancing and having failover and… All good
things.
39. Microservices!
Trying to find a
platform for scaling
with microservices.
Docker, LXC etc
Seems like a world
focused on HTTP
with port forwarding
over IPv4 NATs
40. What I am
looking for
Multi protocol
IPv6 infrastructure
TLS security built in
Identity handling
API-controlled
41. Finally I get it.
Kamailio event
routes
Kamailio KEMI
Kamailio AMQP Kamailio NOSIP
Kamailio HTTP Kamailio JSON api
As always, Daniel is way
ahead of me.
43. Reminders
The PBX is dead.
IPv4 is dying fast. Get aboard IPv6 now.
#MoreCrypto - TLS everywhere!
Kill the monoliths. Build for scale.
Join OpenfreeLibPRI.org - now with ISDN over WebRTC
datachannels
Have fun!
@oej