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

Olle E. Johansson notifications at github.com
Thu Jan 2 14:11:45 CET 2020


oej commented on this pull request.



> +
+   If defined, the module calls event_route[mqtt:message] when a message
+   is received from the broker.
+
+   All incoming messages are handled in a single mqtt dispatcher process.
+...
+event_route[mqtt:message] {
+        xlog("mqtt message received: $mqtt(topic) -> $mqtt(msg) !\n");
+}
+...
+
+6. Exported pseudo-variables
+
+     * $mqtt(topic) - Received topic (only in mqtt:message)
+     * $mqtt(msg) - Received message (only in mqtt:message)
+

How do I reach the QoS value for the message?

-- 
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#pullrequestreview-337651340
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200102/81f0f014/attachment.html>


More information about the sr-dev mailing list