Hi Alex,
On 2/4/10 10:34 PM, alex pappas wrote:
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 ?
no, first because it will be some work to be backported in 1.5.x, then ...
The project policy is that released major versions get only bug fixes
and documentation improvements, resulting in minor versions. New
features are in devel version and we do major releases every 6 to 8
months to ensure availability of new features pretty quickly along with
a not-hard-to-do upgrade. 3.0.0 was a bit out of the pattern due to
unusual devel cycle that was integration with ser. Next major version
will be more straightforward to upgrade from 3.0.0.
Thus debugger will be actually in 3.1.0 (in few months), as 3.0.0 was
released. But is easier to backport to 3.0 if someone really wants it.
Cheers,
Daniel
Cheers
Alex
On Thu, Feb 4, 2010 at 10:35 PM, Daniel-Constantin Mierla
<miconda(a)gmail.com <mailto:miconda@gmail.com>> wrote:
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/deb…
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(a)lists.kamailio.org <mailto:Users@lists.kamailio.org>
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
eLearning class for Kamailio 3.0.0
Starting Feb 8, 2010
*
http://www.asipto.com/