lost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing
authorwkampich <wolfgang.kampichler@gmail.com>
Mon, 12 Aug 2019 13:04:38 +0000 (15:04 +0200)
committerHenning Westerholt <hw@skalatan.de>
Fri, 16 Aug 2019 06:04:03 +0000 (08:04 +0200)
lost: adds HELD (RFC6155) and LOST (RFC5222) queries for location-based routing

- lost_held_query() takes specific id (pvar, P-A-I, or From), assembles a
  locationRequest (XML), and sends it to an http_client connection, responses
  are parsed (pidf-lo and location reference are returned)
- lost_query() takes pidf-lo (pvar, msg body, or de-referenced), a service urn
  (pvar, request line) assembles a findService request (XML), and sends it to
  an http_client connection, responses are parsed (target uri and display name
  are returned)
12 files changed:
src/modules/lost/Makefile [new file with mode: 0755]
src/modules/lost/README [new file with mode: 0644]
src/modules/lost/doc/Makefile [new file with mode: 0755]
src/modules/lost/doc/lost.xml [new file with mode: 0644]
src/modules/lost/doc/lost_admin.xml [new file with mode: 0644]
src/modules/lost/functions.c [new file with mode: 0644]
src/modules/lost/functions.h [new file with mode: 0755]
src/modules/lost/lost.c [new file with mode: 0644]
src/modules/lost/pidf.c [new file with mode: 0755]
src/modules/lost/pidf.h [new file with mode: 0755]
src/modules/lost/utilities.c [new file with mode: 0644]
src/modules/lost/utilities.h [new file with mode: 0644]