in kamailio.cfg I have `` debug=1 `` setting debug level to 2 in the command line `` kamctl fifo debug 2 `` or `` kamcmd proxy cfg.set_now_int core debug 2 `` works fine until the process does t_suspend() after t_continue() logs are debug level 1 only
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/708
using ``` loadmodule "debugger.so" modparam("debugger", "mod_level_mode", 1) modparam("debugger", "mod_hash_size", 4) modparam("debugger", "mod_level", "core=1") modparam("debugger", "mod_level", "xlog=1") modparam("debugger", "mod_level", "tm=3") ``` and ``kamcmd dbg.set_mod_level xlog 2`` works fine
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/708#issuecomment-232349202
example using debug=1 and ``kamctl fifo debug 2`` ``` 2016-07-13T15:15:32.930931+02:00 sp1 proxy[1285]: INFO: <script>: Callee block mode is 'blacklist' - R=sip:testuser1001@spce.test ID=NGCP%invite%///1-1862@127.126.0.1 UA='<null>' 2016-07-13T15:15:32.934331+02:00 sp1 proxy[1285]: NOTICE: <script>: Dispatch LNP request for a/b-number '4311002/4311001' - R=sip:testuser1001@spce.test ID=NGCP%invite%///1-1862@127.126.0.1 UA='<null>' 2016-07-13T15:15:32.944207+02:00 sp1 proxy[1294]: NOTICE: <script>: LNP routing number 3481880110 found, replacing called party - R=sip:testuser1001@spce.test ID=NGCP%invite%///1-1862@127.126.0.1 UA='<null>' ``` using debugger.mod_level_mode 1 with tm in debug ``` 2016-07-13T15:04:13.327454+02:00 sp1 proxy[9624]: INFO: <script>: Callee block mode is 'blacklist' - R=sip:testuser1001@spce.test ID=NGCP%invite%///1-17305@127.126.0.1 UA='<null>' ... 2016-07-13T15:04:13.332330+02:00 sp1 proxy[9624]: NOTICE: <script>: Dispatch LNP request for a/b-number '4311002/4311001' - R=sip:testuser1001@spce.test ID=NGCP%invite%///1-17305@127.126.0.1 UA='<null>' 2016-07-13T15:04:13.332420+02:00 sp1 proxy[9624]: DEBUG: tm [t_lookup.c:1312]: t_newtran(): DEBUG: t_newtran: msg id=28 , global msg id=28 , T on entrance=(nil) 2016-07-13T15:04:13.332436+02:00 sp1 proxy[9624]: DEBUG: tm [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start searching: hash=35098, isACK=0 2016-07-13T15:04:13.332440+02:00 sp1 proxy[9624]: DEBUG: tm [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching failed 2016-07-13T15:04:13.332443+02:00 sp1 proxy[9624]: DEBUG: tm [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no transaction found 2016-07-13T15:04:13.332451+02:00 sp1 proxy[9624]: DEBUG: tm [t_hooks.c:358]: run_reqin_callbacks_internal(): DBG: trans=0x7f131db74c78, callback type 1, id 0 entered 2016-07-13T15:04:13.332457+02:00 sp1 proxy[9624]: DEBUG: tm [t_hooks.c:358]: run_reqin_callbacks_internal(): DBG: trans=0x7f131db74c78, callback type 1, id 0 entered 2016-07-13T15:04:13.332999+02:00 sp1 proxy[9633]: DEBUG: tm [t_lookup.c:1574]: t_lookup_ident(): DEBUG: t_lookup_ident: transaction found 2016-07-13T15:04:13.333428+02:00 sp1 proxy[9633]: INFO: <script>: *** Result received: {"result":{"tcap":"62 19 48 00 6c 15 a1 13 02 01 00 02 01 14 30 0b a0 09 04 07 00 00 43 18 88 10 01"}} - R=sip:testuser1001@spce.test ID=NGCP%invite%///1-17305@127.126.0.1 UA='<null>' ```
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/708#issuecomment-232352288
Where do you call t_continue()? Is it triggered by some particular module? I want to check if that module initialize properly the cfg framework in the case it creates its own process.
Otherwise the patch references above should take care of updating cfg framework values before t_continue() does its job.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/708#issuecomment-232358852
Where do you call t_continue()? Is it triggered by some particular module?
Here I'm ussing janssonrpc-c janssonrpc_request()
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/708#issuecomment-232359585
If all ok after the last patches you can close and backport as needed.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/708#issuecomment-232368085
works! backporting... Thanks!
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/708#issuecomment-232392697
Closed #708.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/708#event-721736179