[sr-dev] [kamailio/kamailio] lost: resolve geolocation url using POST (#2641)

sergey-safarov notifications at github.com
Wed Feb 17 13:30:56 CET 2021


I observed that http_client drop the HTTP request after a timeout.
So will be good to let LIS know Kamailio timeout.

To do this may be used `responseTime` paramer according rfc5985#section-6.1

> The "responseTime" attribute MAY be included in a location request
   message.  The "responseTime" attribute includes a time value
   indicating to the LIS how long the Device is prepared to wait for a
   response or a purpose for which the Device needs the location.

> The time value in the "responseTime" attribute is expressed as a non-
   negative integer in units of milliseconds.
   
So we can use request body like
```xml
 <locationRequest xmlns="urn:ietf:params:xml:ns:geopriv:held" responseTime="4000">
   <locationType exact="false">
     geodetic civic
   </locationType>
 </locationRequest>
```

-- 
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/issues/2641#issuecomment-780524717
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210217/fe0af497/attachment.htm>


More information about the sr-dev mailing list