<p></p>
<h3>Description</h3>
<p>I am using kazoo-module for connecting Kamailio to RabbitMQ and publishing messages to several consumers.</p>
<p>Now I´d like to extend my setup to a more sophisticated routing based on a consistent hash-exchange (<a href="https://github.com/rabbitmq/rabbitmq-consistent-hash-exchange">https://github.com/rabbitmq/rabbitmq-consistent-hash-exchange</a>), while retaining also existing topology based on routing keys.</p>
<p>This can be achieved by using <a href="https://github.com/rabbitmq/rabbitmq-consistent-hash-exchange#routing-on-a-header">"Routing on a Header" (hash-header)</a>. However, <a href="https://kamailio.org/docs/modules/5.0.x/modules/kazoo.html#idp30289164" rel="nofollow">kazoo_publish</a> does not allow setting such header.</p>
<h3>Expected behavior</h3>
<p>Please extend publish-functions of the kazoo-module with the possibility to (optionally) supply AMQP-headers.</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/issues/2895">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPSROGJDADPSHKJF5TUIG7OJANCNFSM5GRJBSVA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZLGGI3ABPZAZC2C5NLUIG7OJA5CNFSM5GRJBSVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PNAF4PA.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/issues/2895",
"url": "https://github.com/kamailio/kamailio/issues/2895",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>