[asterisk-bugs] [Asterisk 0016723]: type=user and type=friend are no longer the same for chan_sip

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 27 22:08:44 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16723 
====================================================================== 
Reported By:                yarique
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16723
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-27 22:08 CST
Last Modified:              2010-01-27 22:08 CST
====================================================================== 
Summary:                    type=user and type=friend are no longer the same for
chan_sip
Description: 
The comments in sip.conf as well as various on-line pages suggest that node
types "user" and "friend" are synonyms for chan_sip.  However, since SVN
rev 169791 they are treated differently.  In particular, a user node will
not get the SIP_TYPE_PEER flag, which makes it impossible for it to
REGISTER with chan_sip:
  
chan_sip.c: Registration from '"foo" <sip:foo at example.org>' failed for
'192.0.2.101' - No matching peer found

As soon as the node type is changed to friend, it can register OK.

Perhaps this needs clarification.  Thanks!
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-27 22:08 yarique        New Issue                                    
2010-01-27 22:08 yarique        Asterisk Version          => 1.6.2.1         
2010-01-27 22:08 yarique        Regression                => No              
2010-01-27 22:08 yarique        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list