[asterisk-bugs] [Asterisk 0010730]: [patch] see channel in agi debug

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Nov 6 17:58:45 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10730 
====================================================================== 
Reported By:                junky
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10730
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 82457 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-15-2007 06:42 CDT
Last Modified:              11-06-2007 17:58 CST
====================================================================== 
Summary:                    [patch] see channel in agi debug
Description: 
After a quick speech with jsmith, at AMUG meeting yesterday, I finally
decided to implements it.

Right now, when you do agi debug:
AGI Rx << GET DATA multi/A125 2000 3 "1234567890*"
    -- <SIP/64.15.69.138-b5caf660> Playing 'multi/A125.slin' (language
'fr')
AGI Tx >> 200 result=0 (timeout)
AGI Rx << STREAM FILE multi/A151 "1234567890"
    -- Playing 'multi/A151' (escape_digits=1234567890) (sample_offset 0)
AGI Tx >> 200 result=0 endpos=8192

you just see whats happening, but now the question could raise, on which
channel just happened the "STREAM FILE multi/A151" ? 
There's no way to know it!

That patch changes the behavior to see the channel name before any Rx/Tx.
Same when agi starts (getting some agi vars) and when agi completes.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 11-06-07 17:58  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 89074

U   trunk/CHANGES
U   trunk/include/asterisk/agi.h
U   trunk/res/res_agi.c

------------------------------------------------------------------------
r89074 | russell | 2007-11-06 17:58:43 -0600 (Tue, 06 Nov 2007) | 9 lines

Print out the channel name as a prefix to the "agi debug" output.  This
makes
AGI debugging on busy systems much easier.

(closes issue http://bugs.digium.com/view.php?id=10730)
Reported by: junky
Patches: 
      agi_debug_chan.diff uploaded by junky (license 177)
	  20070923_10730.diff uploaded by mvanbaak (license 7)

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-06-07 17:58  svnbot         Checkin                                      
11-06-07 17:58  svnbot         Note Added: 0073265                          
11-06-07 17:58  svnbot         Status                   new => assigned     
11-06-07 17:58  svnbot         Assigned To               => russell         
======================================================================




More information about the asterisk-bugs mailing list