#### Type Of Change - [x] New feature (non-breaking change which adds new functionality)
#### Checklist: - [x] PR should be backported to stable branches - [x] Tested changes locally
#### Description permissions allow_trusted function is exported to kemi. function doesn't not accept any parameters. You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2509
-- Commit Summary --
* permissions: exported allow_trusted() to kemi
-- File Changes --
M src/modules/permissions/permissions.c (5)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2509.patch https://github.com/kamailio/kamailio/pull/2509.diff
just fixed previous PR which was broken. Thank you.
The function does not accept parameters, but it is not the right way to export the one for the configuration file, because the signature differs and cannot be found for documentation, as well as can create problems in the future because of the need to cast.
I will export it and can be used as a reference for the future, if you want to contribute on exporting missing functions to kemi. Thanks!
Closed #2509.
For reference - the commit 843b22b implements it.
Got it, thank you!