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

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Nov 17 19:16:47 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-17-2007 19:16 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
====================================================================== 

---------------------------------------------------------------------- 
 eliel - 11-17-07 19:16  
---------------------------------------------------------------------- 
You could use: ast_true(value) instead of strcmp(value, "1") 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-17-07 19:16  eliel          Note Added: 0073854                          
======================================================================




More information about the asterisk-bugs mailing list