<p></p>
<p>tested this config file</p>
<pre><code>listen=udp:127.0.0.1:5060
loadmodule "xlog.so"
loadmodule "pv.so"
loadmodule "http_client.so"
loadmodule "lost.so"
loadmodule "textopsx.so"

modparam("lost", "exact_type", 1)

request_route {
  $var(geo_uri) = @hf_value.geolocation[1].uri;
  if ($(var(geo_uri){s.select,0,:}) =~ "http|https") {
    $var(res) = lost_held_dereference("$var(geo_uri)", "emergencyDispatch", "civic geodetic", "$var(pidf)", "$var(err)");
    xlog("L_INFO", "HELD location dereference: Result code $var(res)\n$var(pidf)");
  }
}
</code></pre>
<p>During URL dereferencing send this request</p>
<pre><code>POST /webhook HTTP/1.1
Host: 217.12.247.98
User-Agent: kamailio (5.5.0-pre0 (x86_64/linux))
Content-Type: application/held+xml;charset=utf-8
Accept: application/pidf+xml,application/held+xml;q=0.5
Content-Length: 192

<?xml version="1.0"?>
<locationRequest xmlns="urn:ietf:params:xml:ns:geopriv:held" responseTime="emergencyDispatch"><locationType exact="false">civic geodetic</locationType></locationRequest>
</code></pre>
<p>According to config file <code>modparam("lost", "exact_type", 1)</code> but in real request send <code>locationType exact="false"</code></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#issuecomment-813022331">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKRBG3AJBHD2NJTQ43THBJIBANCNFSM4ZGSJGLQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZOILLFEU5OC3NLCTNLTHBJIBA5CNFSM4ZGSJGL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGB23Y6Y.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#issuecomment-813022331",
"url": "https://github.com/kamailio/kamailio/pull/2675#issuecomment-813022331",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>