]> 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)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 30 Sep 2025 13:53:45 +0000 (13:53 +0000)
commit2c97fd3ea4e71aa084990778e8adc8d97043a054
tree1ee4c8657730f2fed912d8023645a283305dfc7f
parentece6ed9459311817910673c82857b79c3c45ea76
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