[asterisk-bugs] [Asterisk 0013705]: Can't use type=friend anymore in sip.conf

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 21 06:45:10 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13705 
====================================================================== 
Reported By:                blitzrage
Assigned To:                bweschke
====================================================================== 
Project:                    Asterisk
Issue ID:                   13705
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 149559 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-10-15 10:55 CDT
Last Modified:              2008-10-21 06:45 CDT
====================================================================== 
Summary:                    Can't use type=friend anymore in sip.conf
Description: 
Seems I can't authenticate a user in sip.conf when using type=friend. A
very simple definition in sip.conf:

[200]
type=friend
host=dynamic
context=forTesting

In the sip debug from the CLI I get:

No matching peer for '200' from '192.168.128.129:5060'


But if I change it to type=peer this works. Is this part of the "kill the
user" work? If so, shouldn't type=friend still work for backwards
compatibility?

Does this mean the type=user is also entirely gone? (haven't tested this
part yet)
====================================================================== 

---------------------------------------------------------------------- 
 (0094026) oej (manager) - 2008-10-21 06:45
 http://bugs.digium.com/view.php?id=13705#c94026 
---------------------------------------------------------------------- 
My idea was to keep all of that at this point and make sure that the inner
workings was fine. Then start changing the configuration file and define
new names in a coming release. Depending on the release policy an all
that...

But the change you did is not the way the code is structured. We started
working with find_peer, which is where the problem really is now. Kevin
added some code I could not create myself and I need to fix the rest. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-21 06:45 oej            Note Added: 0094026                          
======================================================================




More information about the asterisk-bugs mailing list