[asterisk-bugs] [Asterisk 0013103]: [patch] Add 'iax2 set debug peer <peer>'

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jul 19 04:45:32 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13103 
====================================================================== 
Reported By:                mvanbaak
Assigned To:                bbryant
====================================================================== 
Project:                    Asterisk
Issue ID:                   13103
Category:                   Channels/chan_iax2
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-17-2008 16:46 CDT
Last Modified:              07-19-2008 04:45 CDT
====================================================================== 
Summary:                    [patch] Add 'iax2 set debug peer <peer>'
Description: 
some channel drivers already have the possibility to enable debugging on
peer/user basis.
IAX2 lacks this.
Since IAX2 is often used as a routing protocol between a lot of boxen, and
a central routing box, debugging can be a pain as you can only enable all
debugging, or disable it at all.
Right now the best way to debug is running tcpdump and/or wireshark, but a
debug limited on a single peer/user will be great

Asked on #asterisk-dev and there it was agreed that it would be a good
idea.

Because it has bitten me some times already I'll take the bet and see what
I can do.
====================================================================== 

---------------------------------------------------------------------- 
 mvanbaak - 07-19-08 04:45  
---------------------------------------------------------------------- 
New patch uploaded that addresses two things:

This one actually shows the debug output for a specific peer.
Not sure if it's the correct way to do it though (function
iax_outputframe)

When disabling iax2 debug, memset the debugaddr struct to 0 to shut up
debug output 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-19-08 04:45  mvanbaak       Note Added: 0090478                          
======================================================================




More information about the asterisk-bugs mailing list