<p></p>
<p><b>@wkampich</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/kamailio/kamailio/pull/2675#discussion_r605184212">src/modules/lost/functions.c</a>:</p>
<pre style='color:#555'>> + case RESPONSE:
+ if(fsrdata->uri != NULL) {
+ /* get the first uri element */
+ if((tmp.s = fsrdata->uri->value) != NULL) {
+ tmp.len = strlen(fsrdata->uri->value);
+ uri.s = lost_copy_string(tmp, &uri.len);
+ }
+ } else {
+ LM_ERR("uri not found: [%.*s]\n", ret.len, ret.s);
+ goto err;
+ }
+ if(fsrdata->mapping != NULL) {
+ /* get the displayName element */
+ if((tmp.s = fsrdata->mapping->name->text) != NULL) {
+ tmp.len = strlen(fsrdata->mapping->name->text);
+ name.s = lost_copy_string(tmp, &name.len);
</pre>
<p>thanks, have incorporated it</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2675#discussion_r605184212">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLY3X2XL45OYOPONKDTGN52LANCNFSM4ZGSJGLQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZIATK6ONHVAFNQE7D3TGN52LA5CNFSM4ZGSJGL2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEVFP4YI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2675#discussion_r605184212",
"url": "https://github.com/kamailio/kamailio/pull/2675#discussion_r605184212",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>