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

Thomas Weber notifications at github.com
Fri Jan 3 17:33:28 CET 2020


towe75 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)
+

@oej, see commit ea69941 

-- 
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#discussion_r362873837
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200103/dadb3cb7/attachment-0001.html>


More information about the sr-dev mailing list