[sr-dev] [kamailio/kamailio] extensions to lost and http_client modules (#2675)

sergey-safarov notifications at github.com
Sun Apr 4 21:31:46 CEST 2021


Use case when the call contains two `Geolocation` headers.

Example
```
Geolocation: <http://example.org/held-link>
Geolocation: <cid:7607331117 at 10.3.90.20>
```

Technically such a call contains Geolocacation by_value and does not require deference first Geolocation header by_reference.
 
>From my point of view.
When used `emergencyRouting` routing need to prefer Geolocation by_value. This alow delivered call with minimal delays but maybe with low accuracy.
When used `emergencyDispatch` routing needs to prefer Geolocation by_reference. This alow send HELD request to a mobile carrier and get latest mobile device location.

Technically on Kamailio maybe used `emergencyRouting` and on `PSAP` used `emergencyDispatch`.

So as idea, in lost request check the number of present Geolocation headers, if present more than one header:
1. and used `emergencyRouting` then try search `by_value` Geolocation;
2. and used `emergencyDispatch` then try to search and dereference `by_reference` Geolocation.

-- 
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#issuecomment-813087678
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210404/55401c3b/attachment.htm>


More information about the sr-dev mailing list