[asterisk-bugs] [Asterisk 0013811]: peer matching issue when use type=peer

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 12 12:17:10 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13811 
====================================================================== 
Reported By:                pj
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   13811
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 152765 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-30 08:28 CDT
Last Modified:              2008-12-12 12:17 CST
====================================================================== 
Summary:                    peer matching issue when use type=peer
Description: 
When use type=peer in sip.conf, asterisk doesn't match existing peer and
doesn't require invite authentication, as consequence call is then placed
from context specified in [general] section in sip.conf (if
allowguest=yes).
Workaround is to switch back to deprecated 'type=friend'
issue is caused probably from commit 152020


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013705 Can't use type=friend anymore in sip.conf
====================================================================== 

---------------------------------------------------------------------- 
 (0096331) svnbot (reporter) - 2008-12-12 12:17
 http://bugs.digium.com/view.php?id=13811#c96331 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 163629

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r163629 | file | 2008-12-12 12:17:10 -0600 (Fri, 12 Dec 2008) | 4 lines

When a device registers we need to unlink them (if linked) from the
peers_by_ip container and link them back in since their IP address has
changed. This would have manifested itself if you configured a new device
(as type=peer), registered, and then tried to place a call from the device.
Since the peer was not linked into the peers_by_ip container it would have
never been found.
(closes issue http://bugs.digium.com/view.php?id=13811)
Reported by: pj

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=163629 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-12 12:17 svnbot         Checkin                                      
2008-12-12 12:17 svnbot         Note Added: 0096331                          
======================================================================




More information about the asterisk-bugs mailing list