<p></p>
<p><b>@sergey-safarov</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/kamailio/kamailio/pull/2675#discussion_r606790323">src/modules/lost/doc/lost_admin.xml</a>:</p>
<pre style='color:#555'>> + </itemizedlist>
+ <para>
+ The return value is 200 on success, 400 if an internal error occured, or 500 if an
+ error code is returned in the HELD response.
+ </para>
+ <para>
+ This function can be used from REQUEST_ROUTE,
+ ONREPLY_ROUTE, FAILURE_ROUTE, and BRANCH_ROUTE.
+ </para>
+ <example>
+ <title><function>lost_held_dereference()</function> usage</title>
+ <programlisting format="linespecific">
+...
+# HELD location dereference
+if ($hdr(Geolocation)=~"^<http.*$") {
+ $var(url) = $(hdr(Geolocation){s.select,0,;});
</pre>
<p>I can suggest use</p>
<pre><code>$var(url) = @hf_value.geolocation[1].uri;
</code></pre>
<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#pullrequestreview-627531591">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNHFBC6VQSWAK3VRZLTHBG2FANCNFSM4ZGSJGLQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZPPVU6EE5IGNL3GB3DTHBG2FA5CNFSM4ZGSJGL2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEVTV6RY.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#pullrequestreview-627531591",
"url": "https://github.com/kamailio/kamailio/pull/2675#pullrequestreview-627531591",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>