<ul dir="auto">
<li>implements GH <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1033907998" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/2895" data-hovercard-type="issue" data-hovercard-url="/kamailio/kamailio/issues/2895/hovercard" href="https://github.com/kamailio/kamailio/issues/2895">#2895</a></li>
</ul>
<h4 dir="auto">Pre-Submission Checklist</h4>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Commit message has the format required by CONTRIBUTING guide</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Commits are split per component (core, individual modules, libs, utils, ...)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Each component has a single commit (if not, squash them into one commit)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> No commits to README files for modules (changes must be done to docbook files<br>
in <code>doc/</code> subfolder, the README file is autogenerated)</li>
</ul>
<h4 dir="auto">Type Of Change</h4>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Small bug fix (non-breaking change which fixes an issue)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> New feature (non-breaking change which adds new functionality)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Breaking change (fix or feature that would change existing functionality)</li>
</ul>
<h4 dir="auto">Checklist:</h4>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> PR should be backported to stable branches</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Tested changes locally</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Related to issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1033907998" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/2895" data-hovercard-type="issue" data-hovercard-url="/kamailio/kamailio/issues/2895/hovercard" href="https://github.com/kamailio/kamailio/issues/2895">#2895</a></li>
</ul>
<h4 dir="auto">Description</h4>
<p dir="auto">Allows adding additional AMQP-headers in the format header1=value1;header2=value2;...</p>
<p dir="auto">Remark:<br>
I decided to re-use the definition<br>
<code>{"kazoo_publish", (cmd_function) kz_amqp_publish_ex, 4, fixup_kz_amqp, fixup_kz_amqp_free, ANY_ROUTE},</code><br>
resp. to modify the existing method signature<br>
<code>int kz_amqp_publish_ex(struct sip_msg* msg, char* exchange, char* routing_key, char* payload, char* _pub_flags)</code><br>
to<br>
<code>int kz_amqp_publish_ex(struct sip_msg* msg, char* exchange, char* routing_key, char* payload, char* _pub_flags)</code><br>
as the param _pub_flags is neither described in the docs, nor it was evaluated/used, and thus was useless anyhow.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/kamailio/kamailio/pull/2925'>https://github.com/kamailio/kamailio/pull/2925</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/kamailio/kamailio/pull/2925/commits/0aee8fc2c486f19a20c936a5098dab2d1d33f829">kazoo: Allow optional AMQP-headers in kazoo_query and kazoo_publish</a></li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/kamailio/kamailio/pull/2925/files">4 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/2925/files#diff-135b7634e5b8a73e1fcdc37eb090fc65c588fbad80f9db94d37a7ade46ec1db9">src/modules/kazoo/doc/kazoo_admin.xml</a>
(8)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/2925/files#diff-b2e6269d3d23a6a93ddaaa6affae4aef90fce46b649c581866f9d26da9792116">src/modules/kazoo/kazoo.c</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/2925/files#diff-b8467dd5dfc9ee661a11ecacd48a456e3dc582e6aba553aab48a546863f8309f">src/modules/kazoo/kz_amqp.c</a>
(117)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/2925/files#diff-28e14a392f0cb86cbed317e59d2c6b144254c907f1ba066864a3e60c7a6f22cb">src/modules/kazoo/kz_amqp.h</a>
(11)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/kamailio/kamailio/pull/2925.patch'>https://github.com/kamailio/kamailio/pull/2925.patch</a></li>
<li><a href='https://github.com/kamailio/kamailio/pull/2925.diff'>https://github.com/kamailio/kamailio/pull/2925.diff</a></li>
</ul>
<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/2925">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZN4RHGKIPQTXUNDRBLULGPTZANCNFSM5HWOFU4Q">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/ABO7UZM2LVEP2FOPIRTR7NLULGPTZA5CNFSM5HWOFU42YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PUJPA2Q.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/2925",
"url": "https://github.com/kamailio/kamailio/pull/2925",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>