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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 30 08:49:06 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:                     assigned
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:              
====================================================================== 
Date Submitted:             2008-10-15 10:55 CDT
Last Modified:              2008-10-30 08:49 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)
====================================================================== 

---------------------------------------------------------------------- 
 (0094411) pj (reporter) - 2008-10-30 08:49
 http://bugs.digium.com/view.php?id=13705#c94411 
---------------------------------------------------------------------- 
I have exactly oposite issue, asterisk doesn't authenticate, if I use
type=peer, but it works, if I have type=friend.
I created bugreport http://bugs.digium.com/view.php?id=13811 for this. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-30 08:49 pj             Note Added: 0094411                          
======================================================================




More information about the asterisk-bugs mailing list