[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-dev
Subject:    [sr-dev] include entering/leaving blocks in debug level 7
From:       miconda () gmail ! com (Daniel-Constantin Mierla)
Date:       2009-08-31 16:40:05
Message-ID: 4A9BFCE5.2010007 () gmail ! com
[Download RAW message or body]

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 at 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

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic