SIPP option -trace_logs is now implemented at kct level.
At default it is deactivated and it can be used with -L [caller|responders|all|none] switch.
This let you use <log> directive inside actions for debugging purposes.
Example of logging:
<recv response="100" rtd="1" optional="true">
<action>
<ereg regexp=".*" search_in="hdr" header="Call-ID:" assign_to="1" />
<log message="Got 100 Trying with Call-ID header [$1]"/>
</action>
</recv>
Now , when running with -L switch:
SCENARIOS=invite ./run_tests.sh -C -r -c -L caller
you get file /usr/share/kamailio-config-tests/log/scenarios/invite/sipp_scenario00.log
with the following content:
"
Got 100 Trying with Call-ID header NGCP%invite%///1-140463@10.20.29.2
"
If -L switch is not passed all behaves exactly like before.
Change-Id: I96c0721a2f1db524a2d68b018b2744a84b32e281