[Home]

Summary:ASTERISK-16402: [branch] SIP peer matching beyond proxy
Reporter:Olle Johansson (oej)Labels:
Date Opened:2010-07-22 03:55:07Date Closed:
Priority:MinorRegression?No
Status:Open/NewComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The branch pinetree-trunk contains code that matches SIP peers on via headers. It's a good addition to Asterisk and the 1.4 version has been in production for over a year now.

When you have a SIP proxy between you and SIP devices, Asterisk can't match on IP address of peers anymore and you will end up with only ONE working peer, thus not being able to set codecs or other settings per peer you communicate with. This code instead matches on the VIA header. When matching the proxy, a match rule says "go find another peer, I'm not the one you're looking for".

Klaus has added a request to match on via received header, which makes sense. It should be configurable though.

****** ADDITIONAL INFORMATION ******

https://origsvn.digium.com/svn/asterisk/team/oej/pinetree-trunk
Comments:By: Leif Madsen (lmadsen) 2010-07-26 09:52:42

Is this code up on reviewboard somewhere currently as well? If so, what is the link so I can update the issue.

By: Olle Johansson (oej) 2010-07-26 09:56:36

Old review here:
https://reviewboard.asterisk.org/r/348/

By: Leif Madsen (lmadsen) 2010-07-29 14:55:14

Can you post a new review for this? It appears the current one is not reviewable.