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
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.