generates reports of testing scenarios:
* received message * messages sent * flow of executed routes ( `start`, `drop`, `exit`, `return` ) * list of the variables and its value at every route executed controlled by mask (`CFGT_DP_NULL`, `CFGT_DP_AVP`, `CFGT_DP_SCRIPTVAR` `CFGT_DP_XAVP`, `CFGT_DP_OTHER`, `CFGT_DP_ALL`)
Changes in the implementation from the initial propose:
* used a prefix on `Call-ID` instead of custom SIP headers `X-Kamailio-test` and `X-Kamailio-test-ID` allowing the ability to bypass other devices filters ( like sems whitelist SIP headers )
* save report files as JSON at disc after the message is processed instead of using RPC commands
Initial implementation of #8 You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/443
-- Commit Summary --
* modules/cfgt: trace config and save to file
-- File Changes --
A modules/cfgt/Makefile (17) A modules/cfgt/cfgt.c (45) A modules/cfgt/cfgt.h (40) A modules/cfgt/cfgt_int.c (797) A modules/cfgt/cfgt_int.h (67) A modules/cfgt/cfgt_json.c (389) A modules/cfgt/cfgt_json.h (38) A modules/cfgt/cfgt_mod.c (112) A modules/cfgt/cfgt_mod.h (29) M modules/debugger/debugger_api.c (19) M modules/debugger/debugger_mod.c (21)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/443.patch https://github.com/kamailio/kamailio/pull/443.diff
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/443
Thanks! It can be merged.
As a suggestion for the future - changes to other modules (and core if the case) should be made own commits in order to review easier.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/443#issuecomment-164683656
Merged #443.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/443#event-492211299
Missed in first place -- I think it also needs to be listed in one of the groups in Makefile.groups for packaging.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/443#issuecomment-164765865
09e823de added cfgt to the list at Makefile.groups Thanks!
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/443#issuecomment-164774118