2011/6/10 Daniel-Constantin Mierla daniel@kamailio.org:
yes, attach to the process that receives the sip request, in this case the udp receiver.
Then if you use a simple config with t_relay(), go to tm module, see where t_relay() is defined, follow a bit the code and set a breakpoint by file and line number at a convenient location (as much as close to dns lookup functions if you can spot them in the code), so you don't do next/next/ too many times.
Understood. Let me some time to do it and I'll come back. Thanks.