You can use

loadmodule "tm.so"
loadmodule "tmx.so"
modparam("tm", "auto_inv_100", 0)

...

 if(is_method("REGISTER")) {
   sl_send_reply("100", "Checking your credentials");
 } else {
   sl_send_reply("100", "Attempting to connect your call");
 }


About
HELD server looks up the location of the caller and pushes a HELD XML
object to the Swiss LIS Server

According to RFC5985 (https://www.rfc-editor.org/rfc/rfc5985.html) HELD request can contain "responseTime" attribute with values "emergencyRouting" and "emergencyDispatch".
With high probability, your LIS server will get the first HELD request with "responseTime=emergencyRouting".
That means do not require high accuracy of user location. In my opinion, you send the location of the last base station where the user registered last time.
This a fast response.

And when the call is delivered to PSAP, your LIS server will receive a second HELD request with "responseTime=emergencyDispatch".
On the second request, you need to return the real mobile user location.
But at this time the call is answered and the location may be evaluated for several seconds.





On Tue, May 23, 2023 at 12:23 PM Benoit Panizzon <benoit.panizzon@imp.ch> wrote:
Hi gang

In 2024, Switzerland will start using NG112 (NG911) procedures to
transmit the caller location via Geolocation URL via LIS Server to a
PSAP.

So time to start testing this on my devel plattform. Kamailio ships
with the lost module which looks promising.

In short, the Procedure is as follows:

Customer calls emergency number.

Kamailio performs a http request to our inhouse HELD server with the
identification of the calling customer.

HELD server looks up the location of the caller and pushes a HELD XML
object to the Swiss LIS Server, which then is queried by the emergency
PSAP receiving the call. LIS server return and URL.

HELD server returns the URL to Kamailio.

Kamailio adds Geolocation Header with that URL and relays the call.

This takes some time and as the call is not yet being relayed while
waiting for the held request to complete, there is no 100 trying being
sent and the emergency call is bound to time out.

So, shall I call t_reply("100","Performing HELD lkup") before
calling the lost module? Or is there a better way?

Mit freundlichen Grüssen

-Benoît Panizzon-
--
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: