[SR-Users] Debugging kamailio module
hw at skalatan.de
Tue Jul 23 18:42:34 CEST 2019
(adding sr-dev to CC)
have a look to the kamailio binary parameter and the children parameter in configuration. You can actually start kamailio with (almost) no forking.
You will get a lot of debugging information if you enable the kamailio debugging in the cfg.
If you want to debug only the internals of the core or a specific Kamailio module, there is also a debugger module available that can be useful to debug only certain parts of the server. You can also set breakpoints at certain points in the cfg, or dump internal state with it.
Am 23.07.19 um 11:39 schrieb Ali Shirvani:
I want to trace function calls in a kamailio module, e.g. ims_isc module. I installed kamailio-dbg package and started the kamailio with gdb: `gdb kamailio` I also set break point on target function, but it seems gdb doesn't stop on that break point.
How should I start gdb and set break points? it seems gdb couldn't handle kamailio child processes that forked in start.
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users