<p></p>
<h3>Description</h3>
<p>When LIS server failed, then LIS send message like</p>
<pre><code>   The error response to the request is an error document.  The
   following response shows an example error response.

         HTTP/1.1 200 OK
         Server: Example LIS
         Expires: Tue, 10 Jan 2006 03:49:20 GMT
         Cache-control: private
         Content-Type: application/held+xml;charset=utf-8
         Content-Length: 182

         <?xml version="1.0"?>
         <error xmlns="urn:ietf:params:xml:ns:geopriv:held"
            code="locationUnknown">
           <message xml:lang="en">Unable to determine location
           </message>
         </error>
</code></pre>
<p>Here is HTTP code is 200.<br>
lost_held_dereference now simply check HTTP code and do not check XML body.</p>
<p>Expected XML content check for:</p>
<ol>
<li>XML HELD error message</li>
<li>check <code>findServiceResponse</code> or <code>presence</code> element check like it done for <code>lost_query</code>.</li>
</ol>
<p>This check is important because PIDF-LO object may be added to the multipart body. And HELD XML error handling prevents error message addition as PDF-LO object.</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/issues/2724">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIGRJMVLKGNAY43FR3TLSAINANCNFSM436YMEIQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJCZUJTBUGXGWLVEGDTLSAINA5CNFSM436YMEI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4NAU5GQA.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/issues/2724",
"url": "https://github.com/kamailio/kamailio/issues/2724",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>