Here is a gdb script snippet to print transaction structures from memory -- 
hopefully works ok, not tested here yet:

```
set $i=0
while($i<TABLE_ENTRIES)

set $ehead = &_tm_table->entries[$i]
set $tcell = _tm_table->entries[$i].next_c

while($ehead!=(void*)$tcell)
p $tcell
p *$tcell
set $tcell = $tcell->next_c;
end

set $i = $i + 1
end
```

Try to attach to last udp worker, so traffic routing goes ok. You may need to 
replace `TABLE_ENTRIES` with `2^16` if gdb complains that it cannot find its 
value.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1220#issuecomment-327177060
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to