]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_geolocation: Address user issues, remove complexity, plug leaks
authorGeorge Joseph <gjoseph@digium.com>
Fri, 5 Aug 2022 13:50:49 +0000 (07:50 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 10 Aug 2022 17:49:36 +0000 (12:49 -0500)
commit4846dd5d1862d92f29eb19b81a3e5b3774641de3
tree2229c33188b4e708d2ce716f3e88b973d44602f5
parentbb7ffce38130719960af27d4ef74697a5ff60088
res_geolocation: Address user issues, remove complexity, plug leaks

* Added processing for the 'confidence' element.
* Added documentation to some APIs.
* removed a lot of complex code related to the very-off-nominal
  case of needing to process multiple location info sources.
* Create a new 'ast_geoloc_eprofile_to_pidf' API that just takes
  one eprofile instead of a datastore of multiples.
* Plugged a huge leak in XML processing that arose from
  insufficient documentation by the libxml/libxslt authors.
* Refactored stylesheets to be more efficient.
* Renamed 'profile_action' to 'profile_precedence' to better
  reflect it's purpose.
* Added the config option for 'allow_routing_use' which
  sets the value of the 'Geolocation-Routing' header.
* Removed the GeolocProfileCreate and GeolocProfileDelete
  dialplan apps.
* Changed the GEOLOC_PROFILE dialplan function as follows:
  * Removed the 'profile' argument.
  * Automatically create a profile if it doesn't exist.
  * Delete a profile if 'inheritable' is set to no.
* Fixed various bugs and leaks
* Updated Asterisk WiKi documentation.

ASTERISK-30167

Change-Id: If38c23f26228e96165be161c2f5e849cb8e16fa0
16 files changed:
configs/samples/geolocation.conf.sample
doc/CHANGES-staging/res_geolocation.txt [new file with mode: 0644]
include/asterisk/res_geolocation.h
include/asterisk/xml.h
main/xml.c
res/res_geolocation/eprofile_to_pidf.xslt
res/res_geolocation/geoloc_config.c
res/res_geolocation/geoloc_dialplan.c
res/res_geolocation/geoloc_doc.xml
res/res_geolocation/geoloc_eprofile.c
res/res_geolocation/geoloc_gml.c
res/res_geolocation/geoloc_private.h
res/res_geolocation/pidf_lo_test.xml
res/res_geolocation/pidf_to_eprofile.xslt
res/res_geolocation/wiki/AsteriskImplementation.md
res/res_pjsip_geolocation.c