[asterisk-bugs] [Asterisk 0011063]: Peers become unreachable when 'sip set debug' is enabled and reachable again when 'sip set debug off'

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Oct 23 09:08:47 CDT 2007


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=11063 
====================================================================== 
Reported By:                bcnit
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11063
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-23-2007 08:37 CDT
Last Modified:              10-23-2007 09:08 CDT
====================================================================== 
Summary:                    Peers become unreachable when 'sip set debug' is
enabled and reachable again when 'sip set debug off'
Description: 

I have two Asterisk boxes. One contains a 'type=friend' entry in the
other's sip.conf as follows:

[asterisk-b]
username=asterisk-b
secret=asterisk
type=friend
canreinvite=no
nat=no
dtmfmode=rfc2833
disallow=all
allow=alaw
allow=g729
context=from-asterisk-local
deny=0.0.0.0/0.0.0.0
permit=172.16.0.0/255.255.255.240
host=172.16.0.4
qualify=yes
insecure=very

(the bug applies if 'host=dynamic' also)

If I turn SIP debugging on, after a few moments, Asterisk says that the
host is unreachable. As soon as I turn debugging off, the host becomes
reachable again.

This is 100% repeatable and when debugging is off, there are absolutely no
communications problems at all and the peer is reachable all the time.

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

---------------------------------------------------------------------- 
 file - 10-23-07 09:08  
---------------------------------------------------------------------- 
Interesting, enabled sip debug doesn't really change handling... it just
outputs the packet with some info to the CLI (which could introduce some
delay...). Can you also provide a tcpdump/wireshark/ethereal dump on port
5060 so I can see the packets coming back? (with and without sip debug
enabled) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-23-07 09:08  file           Note Added: 0072406                          
10-23-07 09:08  file           Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list