[sr-dev] [kamailio] modules/cfgt: debugger config test support (#443)

Victor Seva notifications at github.com
Mon Dec 14 21:22:58 CET 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20151214/4e5691b5/attachment.html>


More information about the sr-dev mailing list