@sergey-safarov commented on this pull request.


> +                         </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)=~"^&lt;http.*$") {
+    $var(url) = $(hdr(Geolocation){s.select,0,;});

I can suggest use
```
$var(url) = @hf_value.geolocation[1].uri;
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2675#pullrequestreview-627531591
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to