<p>Richard Mudgett <strong>uploaded patch set #6</strong> to the change originally created by Kirill Katsnelson.</p><p><a href="https://gerrit.asterisk.org/6119">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_sip: Add dialplan function SIP_HEADERS<br><br>Syntax: SIP_HEADERS([prefix])<br><br>If the argument is specified, only the headers matching the given prefix<br>are returned.<br><br>The function returns a comma-separated list of SIP header names from an<br>incoming INVITE message. Multiple headers with the same name are included<br>in the list only once. The returned list can be iterated over using the<br>functions POP() and SIP_HEADER().<br><br>For example, '${SIP_HEADERS(Co)}' might return the string<br>'Contact,Content-Length,Content-Type'.<br><br>Practical use is rather '${SIP_HEADERS(X-)}' to enumerate optional<br>extended headers sent by a peer.<br><br>ASTERISK-27163<br><br>Change-Id: I2076d3893d03a2f82429f393b5b46db6cf68a267<br>---<br>M CHANGES<br>M channels/chan_sip.c<br>2 files changed, 129 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/19/6119/6</pre><p>To view, visit <a href="https://gerrit.asterisk.org/6119">change 6119</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/6119"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I2076d3893d03a2f82429f393b5b46db6cf68a267 </div>
<div style="display:none"> Gerrit-Change-Number: 6119 </div>
<div style="display:none"> Gerrit-PatchSet: 6 </div>
<div style="display:none"> Gerrit-Owner: Kirill Katsnelson <kkm@smartaction.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Kirill Katsnelson <kkm@smartaction.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>