[asterisk-bugs] [Asterisk 0011268]: [patch] Context tracing for channels

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Nov 15 21:13:08 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11268 
====================================================================== 
Reported By:                moy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11268
Category:                   Core/PBX
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89277 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-15-2007 21:11 CST
Last Modified:              11-15-2007 21:13 CST
====================================================================== 
Summary:                    [patch] Context tracing for channels
Description: 
Once in a while I find myself wondering how a channel got to X context when
is in the middle of a call or in a queue. I have added an option to allow
tracing of contexts where the channel has been. Kind of a backtrace.

exten => _X.,n,Set(CHANNEL(trace)=1) //1 enable anything else stop
tracing

core show channel tech/blah

will show at the end the backtrace

This has been useful to me, I hope I can stop patching my Asterisk in
future releases if this is included in trunk.

Thanks
====================================================================== 

---------------------------------------------------------------------- 
 moy - 11-15-07 21:13  
---------------------------------------------------------------------- 
I have not tested the tracing behaviour when  ast_do_masquerade() is
called. I will do so this week, but I think it should work OK, I just moved
the trace list to the new channel erasing the one in the clone. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-15-07 21:13  moy            Note Added: 0073773                          
======================================================================




More information about the asterisk-bugs mailing list