would it be possible to enhance debug level 7 so that it would print entering/leaving of route/failure/... blocks?
i'm in the middle of debugging a mystery where syslog shows
DBG:core:rewrite_uri: rewriting Request-URI with 'sip:foo.bar@ip-addr:5060;transport=UDP'
but i cannot find in config file where that happens and debug doesn't tell what command caused the rewrite.
-- juha
Hello,
On 31.08.2009 17:55 Uhr, Juha Heinanen wrote:
would it be possible to enhance debug level 7 so that it would print entering/leaving of route/failure/... blocks?
i'm in the middle of debugging a mystery where syslog shows
DBG:core:rewrite_uri: rewriting Request-URI with 'sip:foo.bar@ip-addr:5060;transport=UDP'
but i cannot find in config file where that happens and debug doesn't tell what command caused the rewrite.
you can add dbg messages around run_top_route() -- grep it, you should get some in core and tm -- and in action.c:do_action() around call of run_actions(). That will help to troubleshoot.
Cheers, Daniel