<p> Attention is currently required from: N A, José Lopes. </p>
<p>Patch set 4:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4; color: #000000;">Code-Review -1</span></p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18367">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">File doc/CHANGES-staging/res_pjsip_header_funcs.txt:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18367/comment/99bbee7c_f50cb802">Patch Set #4, Line 3:</a> <code style="font-family:monospace,monospace">Add function PJSIP_RESPONSE_HEADERS() to get list of response headers by pattern in the same way as PJSIP_HEADERS() for request headers.</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This should specify that it is for headers from 200 response.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="null">File res/res_pjsip_header_funcs.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18367/comment/684423ea_8d154dfe">Patch Set #4, Line 173:</a> <code style="font-family:monospace,monospace"> Gets headers of 2xx response from an outbound PJSIP channel.</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">There's conflicting comments in this issue. In some places you say 200, here you say 2xx. They should all be the same.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18367/comment/0369a54e_ff220eaa">Patch Set #4, Line 350:</a> <code style="font-family:monospace,monospace"> // Skip responses before 2xx OK</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">We use /* and */ for comments</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18367/comment/ef7b513a_674d859f">Patch Set #4, Line 351:</a> <code style="font-family:monospace,monospace"> if (session->inv_session->state < PJSIP_INV_STATE_CONNECTING) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I think it would be better to instead look at the response code and limit it to 2xx class instead.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18367">change 18367</a>. To unsubscribe, or for help writing mail filters, 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/c/asterisk/+/18367"/><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-Change-Id: I264a610a9333359297a0825feb29a1bb4f4ad144 </div>
<div style="display:none"> Gerrit-Change-Number: 18367 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: José Lopes <jose.lopes@nfon.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Attention: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Attention: José Lopes <jose.lopes@nfon.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 26 May 2022 11:52:51 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>