]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_geolocation: Add support for Geolocation loc-src parameter
authorMax Grobecker <m.grobecker@portunity.de>
Sun, 21 Sep 2025 13:34:56 +0000 (15:34 +0200)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 30 Oct 2025 16:09:10 +0000 (16:09 +0000)
commitc3080b6be87d0c8af8e006c78efbbbb8124c351f
tree16bd7b07c07d3ecdfc27ffb1e0f6cbd7f626dd7d
parente76a58ed8e1038319e71558326b8045e74cca3d5
res_pjsip_geolocation: Add support for Geolocation loc-src parameter

This adds support for the Geolocation 'loc-src' parameter to res_pjsip_geolocation.
The already existing config option 'location_source` in res_geolocation is documented to add a 'loc-src' parameter containing a user-defined FQDN to the 'Geolocation:' header,
but that option had no effect as it was not implemented by res_pjsip_geolocation.

If the `location_source` configuration option is not set or invalid, that parameter will not be added (this is already checked by res_geolocation).

This commits adds already documented functionality.
res/res_pjsip_geolocation.c