<p>Michael Bradeen has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18973">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip:<br><br>Adding user=phone to local-side uri's when user_eq_phone=yes is set for<br>an endpoint. Previously this would only add the header to the To and R-URI.<br><br>ASTERISK-30178<br><br>Change-Id: Id3bfb5d225d762e7d2668c023fe09e4541ae8600<br>---<br>A doc/CHANGES-staging/res_pjsip_usereqphone.txt<br>M res/res_pjsip.c<br>2 files changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/73/18973/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/doc/CHANGES-staging/res_pjsip_usereqphone.txt b/doc/CHANGES-staging/res_pjsip_usereqphone.txt</span><br><span>new file mode 100644</span><br><span>index 0000000..70f1f9a</span><br><span>--- /dev/null</span><br><span>+++ b/doc/CHANGES-staging/res_pjsip_usereqphone.txt</span><br><span>@@ -0,0 +1,4 @@</span><br><span style="color: hsl(120, 100%, 40%);">+subject: res_pjsip</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+user_eq_phone=yes flag on a pjsip endpoint will now set user=phone on</span><br><span style="color: hsl(120, 100%, 40%);">+the From and Prviacy headers in addition to the existing To and RURI</span><br><span>\ No newline at end of file</span><br><span>diff --git a/res/res_pjsip.c b/res/res_pjsip.c</span><br><span>index 08d6acd..7803629 100644</span><br><span>--- a/res/res_pjsip.c</span><br><span>+++ b/res/res_pjsip.c</span><br><span>@@ -870,6 +870,7 @@</span><br><span>        /* Add the user=phone parameter if applicable */</span><br><span>     ast_sip_add_usereqphone(endpoint, dlg->pool, dlg->target);</span><br><span>     ast_sip_add_usereqphone(endpoint, dlg->pool, dlg->remote.info->uri);</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_sip_add_usereqphone(endpoint, dlg->pool, dlg->local.info->uri);</span><br><span> </span><br><span>     if (!ast_strlen_zero(outbound_proxy)) {</span><br><span>              pjsip_route_hdr route_set, *route;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18973">change 18973</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/+/18973"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: Id3bfb5d225d762e7d2668c023fe09e4541ae8600 </div>
<div style="display:none"> Gerrit-Change-Number: 18973 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Michael Bradeen <mbradeen@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>