[Home]

Summary:ASTERISK-30182: res_geolocation: Add built-in profiles to use in fully dynamic configurations
Reporter:George Joseph (gjoseph)Labels:
Date Opened:2022-08-16 09:49:20Date Closed:2022-09-10 11:04:36
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_geolocation
Versions:16.26.0 18.13.0 19.5.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The trigger to perform outgoing geolocation processing is the presence of a geoloc_outgoing_call_profile on an endpoint.   This is intentional so as to not leak location information to destinations that shouldn't receive it.   In a totally dynamic configuration scenario however, there may not be any profiles defined in geolocation.conf.  This makes it impossible to do outgoing processing without defining a "dummy" profile in the config file.  

Instead, we should create 4 built-in profiles named...
"<prefer_config>"
"<discard_config>"
"<prefer_incoming>"
"<discard_incoming>"
which are blank except for the profile_disposition field which set according to the name.  Setting one of those (most probably "<discard_config>") on an endpoint will allow the processing without the need to configure a profile in the conf file.


Comments:By: Friendly Automation (friendly-automation) 2022-09-10 11:04:37.108-0500

Change 18977 merged by Friendly Automation:
res_geolocation:  Add built-in profiles

[https://gerrit.asterisk.org/c/asterisk/+/18977|https://gerrit.asterisk.org/c/asterisk/+/18977]

By: Friendly Automation (friendly-automation) 2022-09-10 11:04:41.638-0500

Change 19182 merged by Friendly Automation:
res_geolocation:  Add built-in profiles

[https://gerrit.asterisk.org/c/asterisk/+/19182|https://gerrit.asterisk.org/c/asterisk/+/19182]

By: Friendly Automation (friendly-automation) 2022-09-10 11:04:45.959-0500

Change 19158 merged by Friendly Automation:
res_geolocation:  Add built-in profiles

[https://gerrit.asterisk.org/c/asterisk/+/19158|https://gerrit.asterisk.org/c/asterisk/+/19158]

By: Friendly Automation (friendly-automation) 2022-09-10 11:04:49.067-0500

Change 19186 merged by Friendly Automation:
res_geolocation:  Add built-in profiles

[https://gerrit.asterisk.org/c/asterisk/+/19186|https://gerrit.asterisk.org/c/asterisk/+/19186]

By: Friendly Automation (friendly-automation) 2022-09-10 11:05:00.635-0500

Change 19190 merged by Friendly Automation:
res_geolocation:  Add built-in profiles

[https://gerrit.asterisk.org/c/asterisk/+/19190|https://gerrit.asterisk.org/c/asterisk/+/19190]

By: Friendly Automation (friendly-automation) 2022-09-10 12:45:48.115-0500

Change 19204 merged by George Joseph:
res_geolocation:  Add built-in profiles

[https://gerrit.asterisk.org/c/asterisk/+/19204|https://gerrit.asterisk.org/c/asterisk/+/19204]