Hello,
This pull request adds 2 features.
--Prioritize the trusted records (highest to lowest priority)
--Match from-uri AND request-uri, if either is blank only one is matched.
Please review the pull request and let me know if any other changes are needed.
Thank you.
Emmanuel
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/152
-- Commit Summary --
* added RURI-pattern matching and priority
-- File Changes --
M modules/permissions/hash.c (65)
M modules/permissions/hash.h (8)
M modules/permissions/permissions.c (4)
M modules/permissions/permissions.h (2)
M modules/permissions/trusted.c (103)
M utils/kamctl/db_sqlite/permissions-create.sql (6)
M utils/kamctl/mysql/permissions-create.sql (6)
M utils/kamctl/oracle/permissions-create.sql (6)
M utils/kamctl/postgres/permissions-create.sql (6)
M utils/kamctl/xhttp_pi/permissions-table (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/152.patch
https://github.com/kamailio/kamailio/pull/152.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/152