[sr-dev] git:master:356fba18: lost: new features, attributes and a new function to dereference location

Wolfgang Kampichler dev at kampichler.info
Fri Apr 9 16:10:51 CEST 2021


Module: kamailio
Branch: master
Commit: 356fba18ac5eef25e67a2357b4cdcd9255810094
URL: https://github.com/kamailio/kamailio/commit/356fba18ac5eef25e67a2357b4cdcd9255810094

Author: Wolfgang Kampichler <dev at kampichler.info>
Committer: Wolfgang Kampichler <dev at kampichler.info>
Date: 2021-03-15T14:18:57+01:00

lost: new features, attributes and a new function to dereference location

- features: LoST redirect, dynamic HELD url resolving (#2574), LoST NAPTR,
  POST request to dereference loation
- attributes: reponse_time (-1:emergencyDispatch, 0:emergencyRouting, >0[ms]);
  post_request (POST method to dereference location #2641); recursion (yes/no);
  location_profile (PIDF/LO profile selection: first/last/geo/civic);
  verbose (detailed LoST response as log INFO);
  geoheader_type (filter schema: any/cid/http/https);
  geoheader_order (first/last)
- function: lost_held_dereference (specific function to dereference location
  using POST method); attributes are url (r), resp.-time (r), resp.-type (r),
  pidf (r/w) and error (r/w)
- general: The extension of the module allows dynamic querying of LIS/HELD
  and LOST services via NAPTR lookup. In the case of LOST, a redirect
  response is evaluated. In case a lost_held_request (used to connect
  to a LIS via POST or GET) is passed with an empty string ("") for the
  connection parameter, then P-A-I or From header value hostnames are used
  for NAPTR lookup to get a corresponding service.

---

Added: src/modules/lost/naptr.c
Added: src/modules/lost/naptr.h
Added: src/modules/lost/response.c
Added: src/modules/lost/response.h
Modified: src/modules/lost/functions.c
Modified: src/modules/lost/functions.h
Modified: src/modules/lost/lost.c
Modified: src/modules/lost/pidf.c
Modified: src/modules/lost/utilities.c
Modified: src/modules/lost/utilities.h

---

Diff:  https://github.com/kamailio/kamailio/commit/356fba18ac5eef25e67a2357b4cdcd9255810094.diff
Patch: https://github.com/kamailio/kamailio/commit/356fba18ac5eef25e67a2357b4cdcd9255810094.patch




More information about the sr-dev mailing list