[sr-dev] [kamailio/kamailio] mqtt: module to support mqtt pubsub messaging (#2187)

Thomas Weber notifications at github.com
Thu Jan 2 15:52:14 CET 2020


@oej: it would IMHO only be simple for "static" subscriptions like "kamailio/foo" -> on_mqtt_foo(). 

But what about wildcard subscriptions like "kamailio/+/unregister" or "kamailio/#" ? I can, of course, forbit these mappings by some validation rule but a cleaner solution would be to pattern-match each incoming message against the wildcard subscription to find the correct route. 

It's IMHO a somewhat sophisticated feature for a later version, if the need arises. For now the mapping for incoming messages can be done in script code. We can discuss about it in more detail on the mailing list or some other channel, if you want.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2187#issuecomment-570230247
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200102/491fd626/attachment-0001.html>


More information about the sr-dev mailing list