[asterisk-bugs] [Asterisk 0013316]: Realtime registrations don't work after a sip reload

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 21 12:02:02 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13316 
====================================================================== 
Reported By:                bcramer
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13316
Category:                   Channels/chan_sip/DatabaseSupport
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 138258 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-15 22:00 CDT
Last Modified:              2008-08-21 12:02 CDT
====================================================================== 
Summary:                    Realtime registrations don't work after a sip reload
Description: 
Sip registrations get mixed up as the Nat'ed IP's get populated in the sip
status, then the status becomes UNKNOWN.  Shortly after the sip
registration completely disappears/expires:

sbc02*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status    
Realtime  
6046309553      24.207.127.215   D   N      5060     OK (10 ms) Cached RT

blah  10.10.200.10     D   N      5060     OK (1 ms)            
2 sip peers [Monitored: 2 online, 0 offline Unmonitored: 0 online, 0
offline]

sbc02*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf': Found

sbc02*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status    
Realtime  
6046309553/6046309553      192.168.1.100    D   N      5060     UNKNOWN   
Cached RT 
blah  10.10.200.10     D   N      5060     OK (1 ms)            
2 sip peers [Monitored: 1 online, 1 offline Unmonitored: 0 online, 0
offline]

<couple minutes later>

sbc02*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status    
Realtime  
vr01mcitosbc02mci/vr01mci  10.10.200.10     D   N      5060     OK (1 ms) 
          
1 sip peers [Monitored: 1 online, 0 offline Unmonitored: 0 online, 0
offline]



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

---------------------------------------------------------------------- 
 (0091632) bcramer (reporter) - 2008-08-21 12:02
 http://bugs.digium.com/view.php?id=13316#c91632 
---------------------------------------------------------------------- 
Corydon76, what is your realtime schema like and I'll test that out with my
server.  This is the last part for me to roll out a bunch of servers.  Your
help in solving this is greatly appreciated.  I noticed in one of the last
patches that the NAT code was moved, could that cause this issue? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-21 12:02 bcramer        Note Added: 0091632                          
======================================================================




More information about the asterisk-bugs mailing list