Hi Daniel,
That is a very cool module! Great news!
It will be added also for the Kamailio-1.5 or it is only for 3.0 ?
Cheers
Alex
Hello,
the new debugger module can be used to do runtime debugging of SIP Router config file, in similar manner of gdb. The module is controlled via the RPC interface, therefore investigation can be done from a remote site. That makes it very handy to use with sercmd as well.
One features is to print a log message for each action executed in the config for a SIP message, showing the execution path. The option can be enabled/disabled per process.
The other one is step by step execution of config file. When a SIP message message comes it, SIP Router process will stop at first action and wait for commands, like: execute the action, evaluate a pseduo-variable, print to syslog a pseudo-variable, remove the breakpoints and continue execution without interruption, ... See the readme for more:
http://sip-router.org/docbook/sip-router/branch/master/modules/debugger/debugger.html
It is still some stuff to complete, some known issues to remove, but the module is usable and may help some of you to troubleshoot migrations from older versions to 3.0 (use master branch until your config is updated and running fine, then use it with stable 3.0).
Hope is going to be useful and waiting for feedback to improve. Of course, contributions are most welcome!
Cheers,
Daniel
--
Daniel-Constantin Mierla
eLearning class for Kamailio 3.0.0
Starting Feb 8, 2010
* http://www.asipto.com/
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users