[asterisk-bugs] [Asterisk 0015711]: [patch] Only deprecated "rtp debug ip <addr>" works, not "rtp set debug ip <addr>"

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Sep 12 08:13:05 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15711 
====================================================================== 
Reported By:                davidw
Assigned To:                mvanbaak
====================================================================== 
Project:                    Asterisk
Issue ID:                   15711
Category:                   Core/RTP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           Older 1.6.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-13 07:34 CDT
Last Modified:              2009-09-12 08:13 CDT
====================================================================== 
Summary:                    [patch] Only deprecated "rtp debug ip <addr>" works,
not "rtp set debug ip <addr>"
Description: 
host*CLI> rtp set debug ip 10.10.10.10
Lookup failed for 'ip'
Command 'rtp set debug ip 10.10.10.10' failed.
host*CLI> rtp debug ip 10.10.10.10                                        
   
RTP Debugging Enabled for IP: 10.10.10.10
host*CLI> 

The reason is that both call rtp_do_debug_ip(a), but that is hard coded to
only look at the third parameter:

        arg = a->argv[3];

====================================================================== 

---------------------------------------------------------------------- 
 (0110578) svnbot (reporter) - 2009-09-12 08:13
 https://issues.asterisk.org/view.php?id=15711#c110578 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 218109

_U  branches/1.6.0/

------------------------------------------------------------------------
r218109 | mvanbaak | 2009-09-12 08:13:05 -0500 (Sat, 12 Sep 2009) | 14
lines

Blocked revisions 218107 via svnmerge

........
  r218107 | mvanbaak | 2009-09-12 15:08:16 +0200 (Sat, 12 Sep 2009) | 8
lines
  
  use the actual given ip address for 'rtp set debug ip <foo>' instead of
the word 'ip'
  
  (closes issue https://issues.asterisk.org/view.php?id=15711)
  Reported by: davidw
  Patches:
        2009082800-rtpdebug.diff.txt uploaded by mvanbaak (license 7)
  Tested by: davidw
........

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

http://svn.digium.com/view/asterisk?view=rev&revision=218109 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-12 08:13 svnbot         Checkin                                      
2009-09-12 08:13 svnbot         Note Added: 0110578                          
======================================================================




More information about the asterisk-bugs mailing list