[asterisk-bugs] [Asterisk 0018334]: Peer (type=peer) matching is wrong when several peers use one IP:port
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Dec 6 14:03:36 CST 2010
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=18334
======================================================================
Reported By: boroda
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18334
Category: Channels/chan_sip/General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.2.14
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 2010-11-19 04:55 CST
Last Modified: 2010-12-06 14:03 CST
======================================================================
Summary: Peer (type=peer) matching is wrong when several
peers use one IP:port
Description:
I have D-Link DVG-2032 FXS SIP gateway. All ports are set to register as
separate users. For example, port 1 as user 100, 2 - 101, etc. D-Link uses
one udp port (5060) for all registrations.
If I set type=friend then asterisk matches correct peer.
I also tried to toggle match_auth_username - it makes no difference.
======================================================================
----------------------------------------------------------------------
(0129354) lmadsen (administrator) - 2010-12-06 14:03
https://issues.asterisk.org/view.php?id=18334#c129354
----------------------------------------------------------------------
Confirmed. This is just how it works.
<jsmith> OK... are they trying to auth based on username and password?
Obviously they must be...
<leifmadsen> <russellb> type=peer _only_ matches on IP:port
<leifmadsen> <russellb> there is no additional matching being done
<leifmadsen> <russellb> it's going to match the first one it finds
<jsmith> Therefore, they should be matching on a user (or the user portion
of a friend) and not on a peer
<leifmadsen> jsmith: thanks!
<jsmith> If you match on a peer, you're only going to match on IP and
port
<leifmadsen> exactly
<jsmith> Great minds think alike!
Issue History
Date Modified Username Field Change
======================================================================
2010-12-06 14:03 lmadsen Note Added: 0129354
2010-12-06 14:03 lmadsen Status feedback => closed
2010-12-06 14:03 lmadsen Resolution open => no change
required
======================================================================
More information about the asterisk-bugs
mailing list