[asterisk-bugs] [Asterisk 0015837]: reloading doesn't clean everything

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 8 16:35:57 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15837 
====================================================================== 
Reported By:                sxpert
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15837
Category:                   Channels/chan_sip/General
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.0-beta4 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-05 00:23 CDT
Last Modified:              2009-09-08 16:35 CDT
====================================================================== 
Summary:                    reloading doesn't clean everything
Description: 
using 
Asterisk 1.6.2.0~dfsg~beta3-1 built by pbuilder @ grnetbox on a x86_64
running Linux on 2009-07-28 00:56:52 UTC
(debian unstable)

it appears that chan sip doesn't clean everything on reload, and keeps
stray information from previous versions of the configuration, leading to
401 errors on incoming calls because it's looking for a peer that has
disappeared.

a complete restart of the switch fixes the problem.
====================================================================== 

---------------------------------------------------------------------- 
 (0110390) sxpert (reporter) - 2009-09-08 16:35
 https://issues.asterisk.org/view.php?id=15837#c110390 
---------------------------------------------------------------------- 
ah. there. have a proof !!

[Sep  8 23:31:49] NOTICE[3648]: chan_sip.c:21900 sip_poke_noanswer: Peer
'horsfall_free' is now UNREACHABLE!  Last qualify: 38
[Sep  8 23:31:54] NOTICE[3648]: chan_sip.c:21900 sip_poke_noanswer: Peer
'sxpert_free' is now UNREACHABLE!  Last qualify: 33
[Sep  8 23:31:59] NOTICE[3648]: chan_sip.c:17439 handle_response_peerpoke:
Peer 'horsfall_free' is now Reachable. (33ms / 60000ms)
[Sep  8 23:32:04] NOTICE[3648]: chan_sip.c:17439 handle_response_peerpoke:
Peer 'sxpert_free' is now Reachable. (33ms / 60000ms)
ecureuil*CLI> !vi /etc/asterisk/sip.conf
ecureuil*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status    

a580ip/a580ip              192.168.0.50     D          5060     OK (89 ms)

nortel/1234                192.168.0.51                5060     OK (23 ms)

sxpert_free/0950380122     212.27.52.5          N      5060     OK (33 ms)

3 sip peers [Monitored: 3 online, 0 offline Unmonitored: 0 online, 0
offline]

there's no "horsfall_free" anymore in the list... yet... I'm still getting
messages about it 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-08 16:35 sxpert         Note Added: 0110390                          
======================================================================




More information about the asterisk-bugs mailing list