<p> Attention is currently required from: Joshua Colp, Alexei Gradinari, George Joseph. </p>
<p><a href="https://gerrit.asterisk.org/c/asterisk/+/18830">View Change</a></p><p>2 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_session_params.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/+/18830/comment/554bcd34_bedec02d">Patch Set #1, Line 5:</a> <code style="font-family:monospace,monospace">SIPURIPARAMETERS variable on a channel</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Although inherently it is kind of like PJSIP_HEADER as mentioned, so maybe it does make sense.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I guess that would mean no variable under the hood either, the way that chan_sip does it for instance like with Set(SIP_HEADER(... ?<br>For example, right now you need to add a single underscore (at least) since it will only pick up the variable on the outgoing channel itself, not the Dial channel.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18830/comment/4bc3c849_adf3d91a">Patch Set #1, Line 5:</a> <code style="font-family:monospace,monospace">SIPURIPARAMETERS variable on a channel</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Although inherently it is kind of like PJSIP_HEADER as mentioned, so maybe it does make sense.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">The difference between this and PJSIP_HEADER is that each individual header as its own semantics in pjproject (e.g. there is a structure just for the From header IIRC). You really need to handle each possible header separately. So if there's going to be a generic function to set/get parameters on any arbitrary header, it will most certainly be incomplete.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I'm thinking it should either be limited to headers that make sense or just From, or otherwise it might be suboptimal for other headers.</p><p style="white-space: pre-wrap; word-wrap: break-word;">FWIW, from what I've seen about usage of these custom parameters, I've never seen them in any header besides the From header (as far as setting them).</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18830">change 18830</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/+/18830"/><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: Ifb1bc3c512ad5f6faeaebd7817f004a2ecbd6428 </div>
<div style="display:none"> Gerrit-Change-Number: 18830 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-CC: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Attention: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Attention: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 26 Jul 2022 02:11:32 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Comment-In-Reply-To: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>