[asterisk-bugs] [Asterisk 0013705]: Can't use type=friend anymore in sip.conf
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Oct 21 05:51:29 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-21 05:51 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)
======================================================================
----------------------------------------------------------------------
(0094021) svnbot (reporter) - 2008-10-21 05:51
http://bugs.digium.com/view.php?id=13705#c94021
----------------------------------------------------------------------
Repository: asterisk
Revision: 151327
U trunk/channels/chan_sip.c
------------------------------------------------------------------------
r151327 | bweschke | 2008-10-21 05:51:28 -0500 (Tue, 21 Oct 2008) | 7
lines
Fix configuration parsing so type=friend still identifies "friend" as a
peer even though it is now a legacy configuration verb.
(closes issue http://bugs.digium.com/view.php?id=13705)
reported by: blitzrage
patched by: bweschke
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=151327
Issue History
Date Modified Username Field Change
======================================================================
2008-10-21 05:51 svnbot Checkin
2008-10-21 05:51 svnbot Note Added: 0094021
======================================================================
More information about the asterisk-bugs
mailing list