[asterisk-bugs] [Asterisk 0014196]: Realtime peers are never qualified after 'sip reload'
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jan 9 11:31:08 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14196
======================================================================
Reported By: pdf
Assigned To: blitzrage
======================================================================
Project: Asterisk
Issue ID: 14196
Category: Channels/chan_sip/DatabaseSupport
Reproducibility: always
Severity: major
Priority: normal
Status: acknowledged
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 167620
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2009-01-08 01:04 CST
Last Modified: 2009-01-09 11:31 CST
======================================================================
Summary: Realtime peers are never qualified after 'sip
reload'
Description:
Realtime SIP peers all report status as 'UNKNOWN' when re-initialised after
'sip reload'. Peers are never sent OPTIONS qualify packet after reload,
unless they re-register.
-- Registered SIP 'nnn' at xxx.xxx.xxx.xxx port 5060
pabx*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
Realtime
nnn/nnn xxx.xxx.xxx.xxx D 5060 OK
(35 ms) Cached RT
1 sip peers [Monitored: 1 online, 0 offline Unmonitored: 0 online, 0
offline]
pabx*CLI> sip reload
Reloading SIP
== Parsing '/etc/asterisk/sip.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
== Parsing '/etc/asterisk/sip_notify.conf': Found
pabx*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
Realtime
nnn/nnn xxx.xxx.xxx.xxx D 5060
UNKNOWN Cached RT
1 sip peers [Monitored: 0 online, 1 offline Unmonitored: 0 online, 0
offline]
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0013316 Realtime registrations don't work after...
======================================================================
----------------------------------------------------------------------
(0097325) pdf (reporter) - 2009-01-09 11:31
http://bugs.digium.com/view.php?id=14196#c97325
----------------------------------------------------------------------
Peers appear to be reinitialized on schedule - in my test env they're
reloaded after a few seconds post `sip reload`, and are also reinitialized
on demand when a call is placed to/from the peer.
I don't believe there are any further pertinent configs beyond what I've
already posted. I can post SQL schema if required, however I have verified
that all fields are present as documented.
http://bugs.digium.com/view.php?id=12921#91464 suggests that code was
proposed to allow hosts to persist across reloads?
I'll dig into chan_sip and try to identify the related code if I can,
however I'm not overly familiar with the realtime code - is Corydon76
available for comment?
Issue History
Date Modified Username Field Change
======================================================================
2009-01-09 11:31 pdf Note Added: 0097325
======================================================================
More information about the asterisk-bugs
mailing list