Adding the possibility to check any sip uri against the uri_db table and updates the log macros from LM_ to the new ones. You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1034
-- Commit Summary --
* uri_db: added subscriber and realm param to check_uri * uri_db: fix whitespace bevor tab * uri_db: last fix for log macros
-- File Changes --
M src/modules/uri_db/checks.c (177) M src/modules/uri_db/checks.h (9) M src/modules/uri_db/uri_db.c (20)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1034.patch https://github.com/kamailio/kamailio/pull/1034.diff
The commits for new features should not be mixed with changes for formatting or renaming of functions/macros in existing code, because it is not easy to review what are the actual new additions. Please rework the changes and make a commit dedicated only to the new feature.
Moreover, LM_* macros are also new ones that prefix the log messages with function name, etc... no need to change those macros at all. If we decide to replace/remove them, then it will be easier to do substituttion on a LM_XYZ than on XYZ.
Thanks for the remarks, I will rework the changes.
@dunst0 pushed 1 commit.
93cf236 uri_db: removed change from log macros
@miconda hope it is Ok how I did the changes you asked for.
Thanks!
Merged #1034.