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

<hr>

<p>In <a href="https://github.com/kamailio/kamailio/pull/2187#discussion_r362490436">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><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/oej/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/oej">@oej</a>  it's not exposed ATM but it's simple to add it. I will enhance the module accordingly.</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=ABO7UZOT7ZT5OPRVBA7UOPDQ3X2U5A5CNFSM4KCCAWZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQQJS7Q#discussion_r362490436">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZI4GUW2XZLQK2W272TQ3X2U5ANCNFSM4KCCAWZA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZN5MTTLIYCOSCM4ND3Q3X2U5A5CNFSM4KCCAWZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQQJS7Q.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=ABO7UZOT7ZT5OPRVBA7UOPDQ3X2U5A5CNFSM4KCCAWZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQQJS7Q#discussion_r362490436",
"url": "https://github.com/kamailio/kamailio/pull/2187?email_source=notifications\u0026email_token=ABO7UZOT7ZT5OPRVBA7UOPDQ3X2U5A5CNFSM4KCCAWZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQQJS7Q#discussion_r362490436",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>