[Asterisk-code-review] res rtp asterisk.c: Make strict RTP learning more flexible. (asterisk[13])

Richard Mudgett asteriskteam at digium.com
Fri Sep 8 11:03:34 CDT 2017


Richard Mudgett has posted comments on this change. ( https://gerrit.asterisk.org/6410 )

Change subject: res_rtp_asterisk.c: Make strict RTP learning more flexible.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/6410/1/res/res_rtp_asterisk.c
File res/res_rtp_asterisk.c:

https://gerrit.asterisk.org/#/c/6410/1/res/res_rtp_asterisk.c@5145
PS1, Line 5145: 		if (!ast_sockaddr_cmp(&rtp->strict_rtp_address, &addr)) {
> The RFC uses an SSRC based approach instead of strictly host and IP address
The RFC maintains a database of all SSRC to IP:port mappings in the system and does filtering using SSRC.  However, it seems more oriented toward detecting loops.  Going that route would entail a huge change since we don't do much with the SSRC.  We would also need to do something with the RTCP BYE packet.

How are we going to know the SSRC in the first place since the other end picks it?



-- 
To view, visit https://gerrit.asterisk.org/6410
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia2d3aa6e0f22906c25971e74f10027d96525f31c
Gerrit-Change-Number: 6410
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Comment-Date: Fri, 08 Sep 2017 16:03:34 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170908/615451ac/attachment.html>


More information about the asterisk-code-review mailing list