<p> Attention is currently required from: Alexei Gradinari. </p>
<p>Patch set 3:<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/+/18193">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 res/res_pjsip_pubsub.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/+/18193/comment/afc3da1f_723294e8">Patch Set #3, Line 1541:</a> <code style="font-family:monospace,monospace"> ast_sip_mod_data_set(dlg->pool, dlg->mod_data, pubsub_module.id, MOD_DATA_MSG,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">You don't need to alter the function definition or retrieve the request URI in this function. The rdata is cloned onto the dialog itself for later use.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18193/comment/f90bc7f3_f6d8364a">Patch Set #3, Line 1282:</a> <code style="font-family:monospace,monospace">     pjsip_sip_uri_assign(tree->dlg->pool, sub->uri, resource_uri);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">You can get access to the rdata here using:</p><p style="white-space: pre-wrap; word-wrap: break-word;">pjsip_msg *rdata;<br>rdata = ast_sip_mod_data_get(tree->dlg->mod_data, pubsub_module.id, MOD_DATA_MSG);</p><p style="white-space: pre-wrap; word-wrap: break-word;">And then the request URI using:</p><p style="white-space: pre-wrap; word-wrap: break-word;">pjsip_sip_uri *request_uri;<br>request_uri = pjsip_uri_get_uri(rdata->msg_info.msg->line.req.uri);</p><p style="white-space: pre-wrap; word-wrap: break-word;">Like normal.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18193">change 18193</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/+/18193"/><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: I1fcfc08fd589677f40608c59a4e143c45ee05f6c </div>
<div style="display:none"> Gerrit-Change-Number: 18193 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Alexei Gradinari <alex2grad@gmail.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-Attention: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 15 Mar 2022 11:24:44 +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>