<p><b>@oej</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/kamailio/kamailio/pull/2187#discussion_r362467717">src/modules/mqtt/README</a>:</p>
<pre style='color:#555'>> +
+   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)
+
</pre>
<p>How do I reach the QoS value for the message?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2187?email_source=notifications&email_token=ABO7UZJDC5VHVU2JITBSFMLQ3XRZDA5CNFSM4KCCAWZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQQCNDA#pullrequestreview-337651340">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJGZ2M5VFC34QXMFTTQ3XRZDANCNFSM4KCCAWZA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJF755CREWM2JJNO5LQ3XRZDA5CNFSM4KCCAWZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQQCNDA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2187?email_source=notifications\u0026email_token=ABO7UZJDC5VHVU2JITBSFMLQ3XRZDA5CNFSM4KCCAWZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQQCNDA#pullrequestreview-337651340",
"url": "https://github.com/kamailio/kamailio/pull/2187?email_source=notifications\u0026email_token=ABO7UZJDC5VHVU2JITBSFMLQ3XRZDA5CNFSM4KCCAWZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQQCNDA#pullrequestreview-337651340",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>