]> 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)
committerMax Grobecker <m.grobecker@portunity.de>
Tue, 30 Sep 2025 13:53:36 +0000 (13:53 +0000)
commit9c321e792b2d79134b023c7319efa153e1ac5cbc
tree010c7edc738845524be59695abd83bb10a8e557b
parentb15a745ef895f87e0c890edfcb689372dc84340b
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