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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 13 07:34:51 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15711 
====================================================================== 
Reported By:                davidw
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15711
Category:                   Core/RTP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             2009-08-13 07:34 CDT
Last Modified:              2009-08-13 07:34 CDT
====================================================================== 
Summary:                    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];

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-13 07:34 davidw         New Issue                                    
2009-08-13 07:34 davidw         Asterisk Version          => Older 1.6.1     
2009-08-13 07:34 davidw         Regression                => No              
2009-08-13 07:34 davidw         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list