<p></p>
<p>I observed that http_client drop the HTTP request after a timeout.<br>
So will be good to let LIS know Kamailio timeout.</p>
<p>To do this may be used <code>responseTime</code> paramer according rfc5985#section-6.1</p>
<blockquote>
<p>The "responseTime" attribute MAY be included in a location request<br>
message.  The "responseTime" attribute includes a time value<br>
indicating to the LIS how long the Device is prepared to wait for a<br>
response or a purpose for which the Device needs the location.</p>
</blockquote>
<blockquote>
<p>The time value in the "responseTime" attribute is expressed as a non-<br>
negative integer in units of milliseconds.</p>
</blockquote>
<p>So we can use request body like</p>
<div class="highlight highlight-text-xml"><pre> <<span class="pl-ent">locationRequest</span> <span class="pl-e">xmlns</span>=<span class="pl-s"><span class="pl-pds">"</span>urn:ietf:params:xml:ns:geopriv:held<span class="pl-pds">"</span></span> <span class="pl-e">responseTime</span>=<span class="pl-s"><span class="pl-pds">"</span>4000<span class="pl-pds">"</span></span>>
   <<span class="pl-ent">locationType</span> <span class="pl-e">exact</span>=<span class="pl-s"><span class="pl-pds">"</span>false<span class="pl-pds">"</span></span>>
     geodetic civic
   </<span class="pl-ent">locationType</span>>
 </<span class="pl-ent">locationRequest</span>></pre></div>

<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/2641#issuecomment-780524717">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZONMP6VHR3AFVG6MS3S7OZIBANCNFSM4XWYFUXQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZPJF6TV3PRBG4N4XNDS7OZIBA5CNFSM4XWYFUX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2C5ZLI.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/2641#issuecomment-780524717",
"url": "https://github.com/kamailio/kamailio/issues/2641#issuecomment-780524717",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>