[asterisk-bugs] [Asterisk 0012693]: sip reload doesn't add new peers
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue May 20 19:31:07 CDT 2008
The following issue requires your FEEDBACK.
======================================================================
http://bugs.digium.com/view.php?id=12693
======================================================================
Reported By: marsosa
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12693
Category: Channels/chan_sip/General
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: 1.6.0-beta8
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 05-20-2008 19:08 CDT
Last Modified: 05-20-2008 19:31 CDT
======================================================================
Summary: sip reload doesn't add new peers
Description:
I'm testing 1.6.0beta8 and beta9 and in both versions i have the same
problem: when i add new peers to a file included in sip.conf and then do a
sip reload (or full reload) the new peer doesn't appears to be added until
a full restart.
======================================================================
----------------------------------------------------------------------
putnopvut - 05-20-08 19:31
----------------------------------------------------------------------
I attempted reproducing this but I was unsuccessful. In my test, I had the
following line at the top of sip.conf
#include sip.conf2
In sip.conf, I have 6 peers defined, and in sip.conf2, I have 1 peer
defined.
*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
5000/5000 (Unspecified) D 0
Unmonitored
4000/4000 (Unspecified) D 0
Unmonitored
3000/3000 (Unspecified) D 0
Unmonitored
2001/2001 10.19.4.251 D 5060
Unmonitored
1000/1000 (Unspecified) D 0
Unmonitored
2000/2000 10.19.3.253 D 5060
Unmonitored
6000 (Unspecified) 5060
Unmonitored
7 sip peers [Monitored: 0 online, 0 offline Unmonitored: 3 online, 4
offline]
I then modify sip.conf2 to have a new peer (called 600) and issue a "sip
reload" and "sip show peers"
*CLI> Reloading SIP
== Parsing '/etc/asterisk/sip.conf': Found
== Parsing '/etc/asterisk/sip.conf2': Found
== Parsing '/etc/asterisk/users.conf': Found
== Parsing '/etc/asterisk/sip_notify.conf': *CLI> Found
*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
5000/5000 (Unspecified) D 0
Unmonitored
4000/4000 (Unspecified) D 0
Unmonitored
3000/3000 (Unspecified) D 0
Unmonitored
2001/2001 10.19.4.251 D 5060
Unmonitored
1000/1000 (Unspecified) D 0
Unmonitored
2000/2000 10.19.3.253 D 5060
Unmonitored
600/600 10.19.2.205 D 5060
Unmonitored
6000 (Unspecified) 5060
Unmonitored
8 sip peers [Monitored: 0 online, 0 offline Unmonitored: 4 online, 4
offline]
As you can see, peer 600 was added to the list.
Could you give more details about your configuration? Are there any other
extra steps I'm leaving out in trying to reproduce the failure?
Issue History
Date Modified Username Field Change
======================================================================
05-20-08 19:31 putnopvut Note Added: 0087082
05-20-08 19:31 putnopvut Status new => feedback
======================================================================
More information about the asterisk-bugs
mailing list