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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Sep 17 00:00:40 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10730 
====================================================================== 
Reported By:                junky
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10730
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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:              09-17-2007 00:00 CDT
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 russell - 09-17-07 00:00  
---------------------------------------------------------------------- 
This looks good to me, and I would even support putting it in 1.4 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-17-07 00:00  russell        Note Added: 0070657                          
======================================================================




More information about the asterisk-bugs mailing list